Skip to content

Instantly share code, notes, and snippets.

@brianmcallister
brianmcallister / map-me.scss
Created July 24, 2014 15:18 — forked from jackie/gist:a65bb078c8c9eb4bbb57
map-me: A way to extract values from a nested map.
// Extract values from a nested map.
// Original: https://gist.github.com/jackie/a65bb078c8c9eb4bbb57
//
// $map - Map from which to extract the value.
// $keys - List of keys.
//
// Examples
//
// $map: (one: (two: val: 'value'));
// map-me($map, one two val);