UNPKG

@storm-stack/types

Version:

⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.

16 lines (15 loc) 557 B
import { AnyNumber } from "../utility-types/base"; /** * Check if the provided value's type is `number` * * @param value - The value to type check * @returns An indicator specifying if the value provided is of type `number` */ export declare const isNumber: (value: unknown) => value is number; /** * Check if the provided value's type is `AnyNumber` * * @param value - The value to type check * @returns An indicator specifying if the value provided is of type `AnyNumber` */ export declare function isAnyNumber(value?: any): value is AnyNumber;