@std-types/is-valid-number
v1.0.0
Published
TypeScript Guard for a non-NaN value.
Downloads
2
Readme
@std-types/is-valid-number
TypeScript Guard for a non-NaN number value.
Installation
npm install @std-types/is-valid-number
Usage
import isValidNumber from "@std-types/is-valid-number";
declare const value: unknown;
if (isValidNumber(value)) {
// value is a non-NaN number
}