Skip to main content
Module

x/rimbu/mod.ts>SubOf

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias SubOf
import { type SubOf } from "https://deno.land/x/rimbu@0.14.0/mod.ts";

Accepts all types of T and S where S extends T, and results in the lower bound S.

definition: S extends T ? S : never