Commit | Line | Data |
---|---|---|
2d3ca553 | 1 | @charset "UTF-8"; |
2 | ||
3 | /// Checks for a valid number. | |
4 | /// | |
5 | /// @argument {number} $value | |
6 | /// | |
7 | /// @require {function} _contains | |
8 | /// | |
9 | /// @return {boolean} | |
10 | /// | |
11 | /// @access private | |
12 | ||
13 | @function _is-number($value) { | |
14 | @return _contains("0" "1" "2" "3" "4" "5" "6" "7" "8" "9" 0 1 2 3 4 5 6 7 8 9, $value); | |
15 | } |