Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "assert/is-safe-integer/docs/types/index.d"

Index

Interfaces

Variables

Variables

Export assignment isSafeInteger

isSafeInteger: IsSafeInteger

Tests if a value is a safe integer.

Notes

  • An integer valued number is "safe" when the number can be exactly represented as a double-precision floating-point number.
param

value to test

returns

boolean indicating whether value is a safe integer