UNPKG

payload

Version:

Node, React, Headless CMS and Application Framework built on Next.js

8 lines (7 loc) 243 B
export function isNumber(value) { if (value === null || value === undefined || typeof value === 'string' && value.trim() === '') { return false; } return !Number.isNaN(Number(value)); } //# sourceMappingURL=isNumber.js.map