$test-map: (
base: 'one',
thing: (
base: 'two',
other: 2,
stuff: (
base: 'three',
hello: 3,
deep: (
base: 'four',
end: 4,
),
),
),
);
@function test($keys...) {
// @debug $keys;
$map: $test-map;
@each $key in $keys {
@debug $key;
$map: map-get($map, $key);
}
@return $map;
}