mirror of
https://github.com/ValueCell-ai/ClawX.git
synced 2026-08-14 00:48:10 +00:00
6 lines
202 B
TypeScript
6 lines
202 B
TypeScript
export type UnknownRecord = Record<string, unknown>;
|
|
|
|
export function isRecord(value: unknown): value is UnknownRecord {
|
|
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
}
|