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-1.3.5 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.3.4 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.3.3 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.3.2 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.3.1 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.3.0 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.2.0 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.1.0 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.9 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.8 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.7 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.6 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.5 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.4 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.3 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.2 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.1 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.0.0 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-0.1.7 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-0.1.6 stylesheets/flint/functions/lib/_get-index.scss