cerulea/lexicon

define atproto schemas in TypeScript

git clone https://git.t4t.associates/cerulea/lexicon

Charlotte Sominitial commit1945441

main
233 B4 linesraw
1export function isObject(value: unknown): value is Record<string, unknown> {
2  return value !== null && typeof value === "object" &&
3    (Object.getPrototypeOf(value) === Object.prototype || Object.getPrototypeOf(value) === null);
4}