FunctionsCommonIsIntegerCommonIsInteger CallableCommonIsInteger(value: unknown, min?: number, max?: number): value is numberType guard which checks that a value is an integer that, optionally, falls within the specified rangeParametersvalue: unknownThe value to testmin: number = -InfinityThe minimum allowed valuemax: number = InfinityThe maximum allowed valueReturns value is number
Type guard which checks that a value is an integer that, optionally, falls within the specified range