Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typeguardkit/core/option_asserter.ts

A TypeScript module to help construct type assertion functions and type guards.
Go to Latest
import * as typeguardkit from "https://deno.land/x/typeguardkit@0.32.1/core/option_asserter.ts";

Classes

An OptionAsserter is an Asserter for the union of the Type of its definedTypeAsserter with undefined, intended to be used with ObjectAsserter to assert optional properties.