Sha256: 2c205b8dac6426932fd9a7948e76dd67fa36bac7ee3a2e2539fd34cc861460c8

Contents?: true

Size: 301 Bytes

Versions: 8

Compression:

Stored size: 301 Bytes

Contents

// Get last item in list
// -------------------------------------------------------------------------------
// @param $list [list] : list
// -------------------------------------------------------------------------------
// @return [list]

@function last($list) {
	@return nth($list, length($list));
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
flint-gs-1.6.5 stylesheets/flint/functions/lib/_last.scss
flint-gs-1.6.4 stylesheets/flint/functions/lib/_last.scss
flint-gs-1.6.3 stylesheets/flint/functions/lib/_last.scss
flint-gs-1.6.2 stylesheets/flint/functions/lib/_last.scss
flint-gs-1.6.0 stylesheets/flint/functions/lib/_last.scss
flint-gs-1.5.0 stylesheets/flint/functions/lib/_last.scss
flint-gs-1.4.0 stylesheets/flint/functions/lib/_last.scss
flint-gs-1.3.6 stylesheets/flint/functions/lib/_last.scss