Function isSafeInteger

  • It will determine whether the provided value is a safe integer or not.

    Parameters

    • value: unknown

    Returns value is number

    Since

    1.0.0

    Example

    isSafeInteger(2);
    // => true

    Example

    isSafeInteger(Number.MIN_VALUE);
    // => false