Sha256: 3a40dd0bf439c22b92224ee855b6e213447b2deb6369761af498fcc707d6b5eb

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 Bytes

Contents

// Steal key based on index number
//--------------------------------------------------------------------------------
// @param $index [number] : index of key
// -------------------------------------------------------------------------------
// @return matched key | false

@function flint-steal-key($index) {
	@if flint-is-number($index) {
		@for $n from 1 through (length(flint-map-fetch($flint, "config")) - 1) {
			@each $key in nth(map-get($flint, "config"), $index) {
				@return $key;
			}
		}
	} @else {
		@return false;
	}
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flint-gs-1.12.0 stylesheets/flint/functions/lib/_steal-key.scss