Files
skills-here-run-place/node_modules/is-what/dist/isAnyObject.js
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

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';
}