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