import { isPlainObject } from 'is-plain-object'; export function isObject(value: unknown): value is Record { return value !== null && typeof value === 'object' && isPlainObject(value); }