Skip to content

The open-source app everyone uses to manage agents at work

208 B
Raw Blame
export function readObject(value: unknown): Record<string, unknown> | null {
  return typeof value === "object" && value !== null && !Array.isArray(value)
    ? value as Record<string, unknown>
    : null;
}