Skip to content

Home > @jview/utils > isMap

isMap() function

是否是 map 类型

Signature:

typescript
export declare function isMap(val: unknown): val is Map<unknown, unknown>;
export declare function isMap(val: unknown): val is Map<unknown, unknown>;

Parameters

ParameterTypeDescription
valunknown

Returns:

val is Map<unknown, unknown>