mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-07-15 09:27:20 +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)
|
|
);
|
|
}
|