Sha256: 816045970cb4e3c4adf28784c72e6213a1234c114c4015cc70d63b3ea7dee756

Contents?: true

Size: 528 Bytes

Versions: 24

Compression:

Stored size: 528 Bytes

Contents

// Gets the index of the passed key
// -------------------------------------------------------------------------------
// @dependence `steal-key()`
// -------------------------------------------------------------------------------
// @param $key [Breakpoint] : breakpoint key
// -------------------------------------------------------------------------------
// @return [Value]

@function get-index($key) {
  	@for $i from 1 through (length(map-fetch($flint, config)) - 1) {
		@if steal-key($i) == $key {
			@return $i;
		}
	}
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
flint-gs-0.1.5 sass/flint/functions/lib/_get-index.scss
flint-gs-0.1.4 sass/flint/functions/lib/_get-index.scss
flint-gs-0.1.3 sass/flint/functions/lib/_get-index.scss
flint-gs-0.1.2 sass/flint/functions/lib/_get-index.scss