Discolink
    Preparing search index...

    Function isNumber

    • Checks if input is a number

      Type Parameters

      • T extends number

      Parameters

      • input: unknown

        Any value

      • Optionalcheck: "integer" | "natural" | "whole"

        Additional check to perform

      Returns input is T

      true if the input passed, false otherwise