Deprecated
Use isIntersectionOf
instead.
import { isAllOf } from "https://deno.land/x/unknownutil@v3.18.1/mod.ts";
Return a type predicate function that returns true
if the type of x
is IntersectionOf<T>
.
Type Parameters
T extends readonly [Predicate<unknown> & WithMetadata<IsObjectOfMetadata>, ...(Predicate<unknown> & WithMetadata<IsObjectOfMetadata>)[]]
Parameters
preds: T