Sha256: d2c3d406255a1d580f2c77ff69f19b3d9e8ccfdaabbf1f7d20bf1c661c1cd6be

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 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

1 entries across 1 versions & 1 rubygems

Version Path
flint-gs-1.7.1 stylesheets/flint/functions/lib/_next-index.scss