Sha256: f17ac457f87186b29797c1f3003d4799ffca179f89e02a8159d00161b138a068

Contents?: true

Size: 495 Bytes

Versions: 7

Compression:

Stored size: 495 Bytes

Contents

// Returns next indexed key based on passed index
// -------------------------------------------------------------------------------
// @param $index [number] : index
// -------------------------------------------------------------------------------
// @return [string] | null

@function flint-next-index($index) { 
	@if $index != (length(flint-map-fetch($flint, "config")) - 1) {
		@each $key in nth(map-get($flint, "config"), $index + 1) {
			@return $key;
		}
	} @else {
		@return null;
	}
}

Version data entries

7 entries across 7 versions & 1 rubygems

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