debian/missing-sources/bourbon/app/assets/stylesheets/functions/_is-number.scss
raw| 1 | @charset "UTF-8"; |
| 2 | |
| 3 | /// Checks for a valid number. |
| 4 | /// |
| 5 | /// @param {Number} $value |
| 6 | /// |
| 7 | /// @require {function} contains |
| 8 | |
| 9 | @function is-number($value) { |
| 10 | @if $output-bourbon-deprecation-warnings == true { |
| 11 | @warn "[Bourbon] [Deprecation] `is-number` is deprecated and will be " + |
| 12 | "removed in 5.0.0."; |
| 13 | } |
| 14 | |
| 15 | @return contains("0" "1" "2" "3" "4" "5" "6" "7" "8" "9" 0 1 2 3 4 5 6 7 8 9, $value); |
| 16 | } |