export function isPlainObject( value: unknown, ): value is Record { return value != null && typeof value === "object" && !Array.isArray(value); }