Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/predicates. A library of predicate functions and builders intended to be used with Ty
Something went wrong. Try again.
1234import type { Key } from "@samual/lib"
export const isRecord = (value: unknown): value is Record<Key, unknown> => Boolean(value) && typeof value == `object`