Sha256: 5285b8763abbe18430b84865ca62a65a3a5cb00e3ce0f4d4515ccb994f4f3494
Contents?: true
Size: 831 Bytes
Versions: 1
Compression:
Stored size: 831 Bytes
Contents
// Get single value from key in instance map based on $selector::$key // ------------------------------------------------------------------------------- // @warning : all values returned are strings and must be converted with `flint-to-number()` // ------------------------------------------------------------------------------- // @param $key [string] : key // @param $value [number] : value // @param $deep [number] : fetch deep value // ------------------------------------------------------------------------------- // @return fetched literal | false @function flint-get-instance-value($key, $value, $deep: null) { @if not $deep { @return flint-map-fetch($flint__instances, flint-has-family-instance($key) $value); } @else { @return flint-map-fetch($flint__instances, flint-has-family-instance($key) $value $deep); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flint-gs-1.12.0 | stylesheets/flint/functions/lib/_get-instance-value.scss |