Module

x/unknownutil/mod.ts>Predicate

🦕 A lightweight utility pack for handling unknown type
Go to Latest
type alias Predicate
import { type Predicate } from "https://dotland.deno.dev/x/unknownutil@v3.18.0/mod.ts";

A type predicate function.

definition: (x: unknown) => x is T
import Predicate
import { Predicate } from "https://dotland.deno.dev/x/unknownutil@v3.18.0/mod.ts";