Home > @jview/utils > isObject
isObject() function
是否是对象 object 类型
Signature:
typescript
export declare function isObject<T = Record<any, any>>(val: unknown): val is T;
export declare function isObject<T = Record<any, any>>(val: unknown): val is T;
Parameters
Parameter | Type | Description |
---|---|---|
val | unknown |
Returns:
val is T