Sha256: 26370a0be007e9f58667a4aad5d8ed52caad370ee678078487e9288124a9cf9d

Contents?: true

Size: 360 Bytes

Versions: 85

Compression:

Stored size: 360 Bytes

Contents

//************************************************************************//
// 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);
}

Version data entries

85 entries across 81 versions & 9 rubygems

Version Path
bourbon-4.0.1 app/assets/stylesheets/helpers/_is-num.scss
bourbon-4.0.0 dist/helpers/_is-num.scss
bourbon-4.0.0 app/assets/stylesheets/helpers/_is-num.scss
bourbon-4.0.0.rc2 dist/helpers/_is-num.scss
bourbon-4.0.0.rc2 app/assets/stylesheets/helpers/_is-num.scss