提交学习笔记专用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

8 lines
255 B

import { getType } from './getType.js';
/**
* Returns whether the payload is an any kind of object (including special classes or objects with
* different prototypes)
*/
export function isAnyObject(payload) {
return getType(payload) === 'Object';
}