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 { Predicate } from "."
export const LazySchema = <T>(getter: () => Predicate<T>) => (value: unknown): value is T => getter()(value)