Files
Library/node_modules/is-what/dist/isAnyObject.js

9 lines
255 B
JavaScript
Raw Normal View History

2026-01-09 23:05:52 -05:00
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';
}