SCSS Compiler
// Check your console $font-weights: ("regular": 400, "medium": 500, "bold": 700); @function foo($x) { @return $x; } @mixin syntax-colors($args...) { @debug type-of($args); } @debug type-of(10px); // number @debug type-of("#8c8c8c"); // string @debug type-of(#8c8c8c); // color @debug type-of(true); // bool @debug type-of(null); // null @debug type-of(10px 20px 30px); // list @debug type-of($font-weights); // map @debug type-of(get-function(foo)); // function @include syntax-colors( $string: #080, // arglist $comment: #800, )
OUTPUT
×

Save as Private