////
/// @author Hugo Giraudel
////

/// Searches through maps and grabs the key when it finds the map specified
/// @since 1.6.0
/// @access public
/// @param {Map} $map - a structured map
/// @param {Arglist} $keys - the key value to grab
/// @return {*} - Desired value from the map(s)
@function map-deep-get($map, $keys...) {
	@each $key in $keys {
		$map: map-get($map, $key);
	}

	@return $map;
}
