Gerillass
v2.1.0Type: Function
mapDeepGet();
Reads a value out of a nested map by following a chain of keys.
Arguments
| Name | Type | Description |
|---|---|---|
$map | map | Accepts a map. |
$keys… | string | Accepts one key per level of nesting. |
Examples
Reading two values out of one of the library's own maps.
.tablet-frame {
width: mapDeepGet($map-for-tablets, "iPadPro", "width");
height: mapDeepGet($map-for-tablets, "iPadPro", "height");
}.tablet-frame {
width: 1024px;
height: 1366px;
}