Download packages/tui/src/util/record.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 150 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/tui/src/util/record.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/tui/src/util/record.ts
-
curl -L -o record.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/tui/src/util/record.ts
150 Bytes
| export function isRecord(value: unknown): value is Record<string, unknown> { | |
| return !!value && typeof value === "object" && !Array.isArray(value) | |
| } | |