JSPM

Found 348 results for stdassert

@stdlib/assert

Standard assertion utilities.

  • v0.3.3
  • 62.82
  • Published

@stdlib/assert-instance-of

Test whether a value has in its prototype chain a specified constructor as a prototype property.

  • v0.3.1
  • 62.50
  • Published

@stdlib/assert-is-almost-same-value

Test if two arguments are approximately the same value within a specified number of ULPs (units in the last place).

  • v0.1.1
  • 29.84
  • Published

@stdlib/assert-is-same-complex64

Test if two arguments are both single-precision complex floating-point numbers and have the same value.

  • v0.2.3
  • 29.15
  • Published

@stdlib/assert-is-same-complex128

Test if two arguments are both double-precision complex floating-point numbers and have the same value.

  • v0.2.3
  • 28.54
  • Published

@stdlib/assert-is-almost-equal

Test if two arguments are approximately equal within a specified number of ULPs (units in the last place).

  • v0.1.1
  • 27.11
  • Published

@stdlib/assert-is-ascii

Test whether a character belongs to the ASCII character set and whether this is true for all characters in a provided string.

  • v0.2.3
  • 22.28
  • Published

@stdlib/assert-is-almost-equal-float64array

Test if two arguments are both Float64Arrays and contain respective elements which are approximately equal within a specified number of ULPs (units in the last place).

  • v0.1.1
  • 20.29
  • Published

@stdlib/assert-is-ascii-cli

Test whether a character belongs to the ASCII character set and whether this is true for all characters in a provided string.

  • v0.2.3
  • 13.45
  • Published