Sha256: caf9cd9a04a0b23892cf930d122c6aa7ea01c8b92ecaccb29e906f8e23a11677
Contents?: true
Size: 905 Bytes
Versions: 9
Compression:
Stored size: 905 Bytes
Contents
// Get single value from key in instance map based on $selector::$key // ------------------------------------------------------------------------------- // @dependence `map-fetch()` // ------------------------------------------------------------------------------- // @warning : all [Values] @returned are strings and must be converted with `to-number()` // ------------------------------------------------------------------------------- // @param $key [Breakpoint] : key // @param $value [Value] : value // @param $deep [Value] : fetch deep value // ------------------------------------------------------------------------------- // @return [Value] @function get-instance-value($key, $value, $deep: NULL) { @if $deep == NULL { @return map-fetch($flint__instances, family-instance-exists($key) $value); } @else { @return map-fetch($flint__instances, family-instance-exists($key) $value $deep); } }
Version data entries
9 entries across 9 versions & 1 rubygems