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

x/rimbu/core/main/index.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.13.1/core/main/index.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