# Assert > Standard library basic mathematical assertion utilities.
## Usage ```javascript var ns = require( '@stdlib/math/base/assert' ); ``` #### ns Standard library basic mathematical assertion utilities. ```javascript var o = ns; // returns {...} ```
- [`isEvenInt32( x )`][@stdlib/math/base/assert/int32-is-even]: test if a 32-bit integer is even. - [`isOddInt32( x )`][@stdlib/math/base/assert/int32-is-odd]: test if a 32-bit integer is odd. - [`isComposite( x )`][@stdlib/math/base/assert/is-composite]: test if a number is a composite. - [`isCoprime( a, b )`][@stdlib/math/base/assert/is-coprime]: test if two numbers are coprime. - [`isEven( x )`][@stdlib/math/base/assert/is-even]: test if a finite numeric value is an even number. - [`isFinite( x )`][@stdlib/math/base/assert/is-finite]: test if a double-precision floating-point numeric value is finite. - [`isFinitef( x )`][@stdlib/math/base/assert/is-finitef]: test if a single-precision floating-point numeric value is finite. - [`isInfinite( x )`][@stdlib/math/base/assert/is-infinite]: test if a double-precision floating-point numeric value is infinite. - [`isInfinitef( x )`][@stdlib/math/base/assert/is-infinitef]: test if a single-precision floating-point numeric value is infinite. - [`isInteger( x )`][@stdlib/math/base/assert/is-integer]: test if a finite double-precision floating-point number is an integer. - [`isnan( x )`][@stdlib/math/base/assert/is-nan]: test if a double-precision floating-point numeric value is NaN. - [`isnanf( x )`][@stdlib/math/base/assert/is-nanf]: test if a single-precision floating-point numeric value is NaN. - [`isNegativeInteger( x )`][@stdlib/math/base/assert/is-negative-integer]: test if a finite double-precision floating-point number is a negative integer. - [`isNegativeZero( x )`][@stdlib/math/base/assert/is-negative-zero]: test if a double-precision floating-point numeric value is negative zero. - [`isNegativeZerof( x )`][@stdlib/math/base/assert/is-negative-zerof]: test if a single-precision floating-point numeric value is negative zero. - [`isNonNegativeInteger( x )`][@stdlib/math/base/assert/is-nonnegative-integer]: test if a finite double-precision floating-point number is a nonnegative integer. - [`isNonPositiveInteger( x )`][@stdlib/math/base/assert/is-nonpositive-integer]: test if a finite double-precision floating-point number is a nonpositive integer. - [`isOdd( x )`][@stdlib/math/base/assert/is-odd]: test if a finite numeric value is an odd number. - [`isPositiveInteger( x )`][@stdlib/math/base/assert/is-positive-integer]: test if a finite double-precision floating-point number is a positive integer. - [`isPositiveZero( x )`][@stdlib/math/base/assert/is-positive-zero]: test if a double-precision floating-point numeric value is positive zero. - [`isPositiveZerof( x )`][@stdlib/math/base/assert/is-positive-zerof]: test if a single-precision floating-point numeric value is positive zero. - [`isPrime( x )`][@stdlib/math/base/assert/is-prime]: test if a number is a prime. - [`isProbability( x )`][@stdlib/math/base/assert/is-probability]: test if a numeric value is a probability. - [`isSafeInteger( x )`][@stdlib/math/base/assert/is-safe-integer]: test if a finite double-precision floating-point number is a safe integer. - [`isPow2Uint32( x )`][@stdlib/math/base/assert/uint32-is-pow2]: test whether an unsigned integer is a power of 2.
## Examples ```javascript var objectKeys = require( '@stdlib/utils/keys' ); var ns = require( '@stdlib/math/base/assert' ); console.log( objectKeys( ns ) ); ```