Sha256: b228b8115269eef0800fc7cfd55a206c6c91d6670a64b78c29616b775f4b3d74
Contents?: true
Size: 711 Bytes
Versions: 246
Compression:
Stored size: 711 Bytes
Contents
//// /// @group tools //// /// Syntactic sugar around Sass' built-in `if` function that does not require /// you to pass a value for `$if-false`. /// /// @param {Boolean} $condition - Whether to return the value of `$if-true` /// @param {Mixed} $if-true - Value to return if `$condition` is truthy /// @return {Mixed} Value of `$if-true` if `$condition` is truthy, else null /// @access private /// @deprecated We will be removing this function in a future release, use `if($condition, $if-true, null);` instead. @function iff($condition, $if-true) { @warn "The `iff` function will be removed in a future release, use `if($condition, $if-true, null);` instead."; @return if($condition, $if-true, null); }
Version data entries
246 entries across 243 versions & 4 rubygems