Sha256: c340c176fd2dd7a590f8661b9789ee019df49c1c9e18e0420081d4aadcbc82f1
Contents?: true
Size: 518 Bytes
Versions: 3
Compression:
Stored size: 518 Bytes
Contents
/* * Check if key exists in map */ @include describe("[function] exists") { $map: ( "key": "value", "map": ( "deep key": "value" ) ); @include it("should expect key to exist within map") { @include should(expect( flint-exists($map, "key")), to(be(true)) ); @include should(expect( flint-exists($map, "deep key")), to(be(true)) ); } @include it("should expect key to not exist within map") { @include should(expect( flint-exists($map, "unknown")), to(be(false)) ); } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flint-gs-2.0.6 | tests/input/functions/lib/_exists.scss |
flint-gs-2.0.5 | tests/input/functions/lib/_exists.scss |
flint-gs-2.0.4 | tests/input/functions/lib/_exists.scss |