mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-05 02:59:27 +02:00
6 lines
175 B
TypeScript
6 lines
175 B
TypeScript
export function isObject(maybe: unknown): maybe is object {
|
|
return (
|
|
typeof maybe === 'object' && maybe !== null && !Array.isArray(maybe) && !(maybe instanceof Date)
|
|
);
|
|
}
|