Skip to main content
Module

x/unknownutil/mod.ts>isAllOf

🦕 A lightweight utility pack for handling unknown type
Go to Latest
function isAllOf
Deprecated
Deprecated

Use isIntersectionOf instead.

import { isAllOf } from "https://deno.land/x/unknownutil@v3.16.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>)[]]