Function isValidMinutes

  • Checks if the given number is a valid minute value.

    Parameters

    • n: number

      The number to check.

    Returns boolean

    A boolean indicating whether the number is a valid minute value.

    Remarks

    This function checks if the given number is an integer between 0 and 59, inclusive.

    Example

    isValidMinutes(30); // returns true
    isValidMinutes(60); // returns false

Generated using TypeDoc