JSPM

Found 348 results for stdassert

@stdlib/assert

Standard assertion utilities.

  • v0.3.3
  • 64.93
  • 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.54
  • 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.86
  • 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.17
  • 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.56
  • 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.13
  • 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.29
  • 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.31
  • 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.46
  • Published

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

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

  • v0.1.1
  • 12.94
  • Published