Home > @jview/utils > isNumber
isNumber() function
是否是数值类型
Signature:
typescript
export declare function isNumber(val: unknown): val is number;
export declare function isNumber(val: unknown): val is number;
Parameters
Parameter | Type | Description |
---|---|---|
val | unknown |
Returns:
val is number