Sha256: 0546b4d0d598f1f95a3c0d5152b8637f0087bd4eaffb83238ab6b947c94f270c

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

// Removes all false and null values from $list
// -------------------------------------------------------------------------------
// @documentation http://sassylists.com/documentation.html#purge
// -------------------------------------------------------------------------------
// @param $list [list] : list
// -------------------------------------------------------------------------------
// @return [list]

@function flint-purge($list) {
	$result: ();

	@each $item in $list {
		@if flint-is-true($item) {
			$result: append($result, $item, list-separator($list));
		}
	}

	@return $result;
}

Version data entries

1 entries across 1 versions & 1 rubygems

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