14 lines
254 B
TypeScript
14 lines
254 B
TypeScript
/**
|
|
* 判断是否是一个对象
|
|
* @param val 值
|
|
*/
|
|
export declare function isPlainObject(val: any): val is object;
|
|
|
|
declare module './ctor' {
|
|
interface XEUtilsMethods {
|
|
isPlainObject: typeof isPlainObject;
|
|
}
|
|
}
|
|
|
|
export default isPlainObject
|