1 export const isObject = (value: unknown): value is object => 2 value != null && typeof value === 'object' && !Array.isArray(value);