Skip to content

Home > @jview/utils > isBasicType

isBasicType() function

是否是基础类型

Signature:

typescript
export declare function isBasicType(val: unknown): val is BasicType;
export declare function isBasicType(val: unknown): val is BasicType;

Parameters

ParameterTypeDescription
valunknown

Returns:

val is BasicType