UNPKG

@nano-utils/op

Version:

Operator overloading in JS

7 lines (4 loc) 116 B
export const OP = Symbol.for('op'); export function isNumber(str: string) { return !Number.isNaN(Number(str)); }