feat(omo-codex): batch 94 (13 files)

This commit is contained in:
YeonGyu-Kim
2026-05-30 19:12:17 +09:00
parent b4655c18d7
commit 2a0d8822eb
13 changed files with 1048 additions and 0 deletions
@@ -0,0 +1,15 @@
import { constants as fsConstants } from "node:fs";
import { access } from "node:fs/promises";
export async function exists(path) {
try {
await access(path, fsConstants.F_OK);
return true;
} catch {
return false;
}
}
export function isRecord(value) {
return typeof value === "object" && value !== null && !Array.isArray(value);
}