Function validateNonNegativeInteger

  • Validate that the input number is non negative and an integer.

    Returns

    True if the input is valid, false otherwise.

    Parameters

    • input: number

      The number to validate.

    Returns boolean

Generated using TypeDoc