grav-theme-libretic/scss/vendor/bourbon/helpers/_is-num.scss

9 lines
360 B
SCSS
Raw Normal View History

2015-01-15 19:15:54 +01:00
//************************************************************************//
// Helper for linear-gradient-parser
//************************************************************************//
@function _is-num($char) {
$values: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9' 0 1 2 3 4 5 6 7 8 9;
$index: index($values, $char);
@return if($index, true, false);
}