mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboViteDocs.git
synced 2026-06-15 22:16:19 +00:00
9 lines
255 B
JavaScript
9 lines
255 B
JavaScript
|
|
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';
|
||
|
|
}
|