FunctionsCommonIsFiniteCommonIsFinite CallableCommonIsFinite(value: unknown, min?: number, max?: number): value is numberType guard which checks that a value is a finite number 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 a finite number that, optionally, falls within the specified range