Skip to main content
Module

x/froebel/types.ts>IfElse

A strictly typed utility library.
Go to Latest
type alias IfElse
import { type IfElse } from "https://deno.land/x/froebel@v0.23.0/types.ts";

Returns A if T is true, B if false, and A | B otherwise.

definition: T extends true ? A : B