Sha256: 262edee8301a68f6edc8e386f91823abc1ff90fadfa6a2f10c783cdf5dd21a71

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

Stored size: 454 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;
		}
	}

    @return false;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flint-gs-1.12.0 stylesheets/flint/functions/lib/_get-index.scss