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

x/rimbu/core/main/exports.ts>SubOf

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Latest
type alias SubOf
import { type SubOf } from "https://deno.land/x/rimbu@1.2.1/core/main/exports.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