Sha256: aabb6d6f83847f4370b4d7566ba91ac7dc9a3ae1b2c41550372fd544a56c388e

Contents?: true

Size: 278 Bytes

Versions: 51

Compression:

Stored size: 278 Bytes

Contents

@function be-less-than($this) {
  $actual: actual();
  $when: false;

  @if type-of($actual) == "number" {
    $when: $actual < $this;
  } @else {
    $when: error("type", "The `be-less-than` matcher is only for numbers");
  }

  @return should("be less than", $this, $when);
}

Version data entries

51 entries across 51 versions & 2 rubygems

Version Path
flint-gs-2.1.3 tests/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.34 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.33 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.32 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.31 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.30 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.29 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.27 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.25 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.24 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.23 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.22 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.19 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.18 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.17 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.16 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.14 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.13 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.12 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss
oulu-rails-0.5.11 vendor/assets/stylesheets/bootcamp/dist/matchers/numbers/_be-less-than.scss