Extension for sass:map module
pattern.is()
Checks whether the $value is a map pattern.
$value
Variables
pick.key-substring()
Returns a copy of $map with keys of $substrings.
$map
$substrings
pick.key-type()
Returns a map with values of $types.
$types
pick.pattern()
Returns a copy of $map filtered by using pattern.
pick.type()
Picks the properties with values and/or keys of the specified type.
pick.value-type()
Picks the properties with values of the specified $types.
map.deep-merge-key()
Merges $map with retrieved values from $keys of this $map.
$keys
map.deep-merge()
Merges multiple maps by using sass original deep-merge().
deep-merge()
modified
map.get()
Returns the value associated with $key in $map, and returns $fallback if returned is null.
$key
$fallback
null
map.has-keys()
Checks whether $map contains $keys.
map.key-replace()
Returns the map with key $replace replaced by $replacement.
$replace
$replacement
map.pick()
Returns a copy of $map of $keys.
map.remove-type()
Removes the properties from $map where values are of $types.
map.remove()
The map.remove() function with unified map.remove() and deep-remove() returns a copy $map without $keys.
deep-remove()
map.retrieve()
Retrieves a value from $map by a $method get or pick with a $key.
$method
map.set()
Sets the $allowed $value under $key in $map.
$allowed
map.update()
Allows to set multiple key-value sets in a $map.
map.values()
Returns all values or values of $keys from $map.
Last updated 1 year ago