Sha256: 0af5c2e5c48a19e85283310850dc732268a7b3f7980e325b582aad6794cde423
Contents?: true
Size: 713 Bytes
Versions: 37
Compression:
Stored size: 713 Bytes
Contents
/// Removes all false and null values from `$list`. /// /// @ignore Documentation: http://at-import.github.io/SassyLists/documentation/#function-sl-purge /// /// @requires sl-is-true /// @requires sl-to-list /// /// @param {List} $list - list to purge /// /// @example /// sl-purge(null a false b) /// // a b /// /// @return {List} /// @function sl-purge($list) { $_: sl-missing-dependencies('sl-is-true', 'sl-to-list'); $result: (); @each $item in $list { @if sl-is-true($item) { $result: append($result, $item, list-separator($list)); } } @return sl-to-list($result); } /// /// @requires sl-purge /// @alias sl-purge /// @function sl-clean($list) { @return sl-purge($list); }
Version data entries
37 entries across 37 versions & 7 rubygems