UNPKG

@storm-stack/types

Version:

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

9 lines (8 loc) 337 B
import { Integer } from "../utility-types/number"; /** * Check if the provided value's type is an integer * * @param value - The value to type check * @returns An indicator specifying if the value provided is of type `number` and is an integer */ export declare const isInteger: <T extends number>(value: T) => value is Integer<T>;