Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/typical/utils.ts

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
import * as rimbu from "https://deno.land/x/rimbu@1.0.2/typical/utils.ts";

Type Aliases

Returns never if the given type is false, otherwise unknown.

If A extends B, returns Then (default true) or else Else (default false)

Returns true if the input type is false, and false if the input type is true.

If A does not extend B, returns Then (default true) or else Else (default false)

Returns false is the given type is false, true otherwise.

Returns never if the given type is false, otherwise true.