Sha256: ad1fa2f100d2571f49ce9da5905af2b8f29926bf0da9d2b29653cba180c1724c

Contents?: true

Size: 434 Bytes

Versions: 6

Compression:

Stored size: 434 Bytes

Contents

// Gets the index of the passed key
// -------------------------------------------------------------------------------
// @param $key [string] : breakpoint key
// -------------------------------------------------------------------------------
// @return [number]

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flint-gs-1.11.2 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.10.0 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.9.1 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.8.0 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.7.2 stylesheets/flint/functions/lib/_get-index.scss
flint-gs-1.7.0 stylesheets/flint/functions/lib/_get-index.scss