Skip to main content
Module

x/rimbu/base/mod.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@0.11.6/base/mod.ts";

Type Aliases

Matches any type of function

Utility type that will only return true if the input type T is equal to any.

A predicate type for any record that resolves to true if any of the record properties is a function, false otherwise. This is useful to have a coarse discrimination between pure data objects and class instances.

A predicate type that resolves to true if the given type satisfies:

  • it is an object type (not a primitive)
  • it is not a function
  • it is not iterable
  • it does not have any properties that are functions Otherwise, it resolves to false

Utility type that will only accept objects that are considered 'plain objects' according to the IsPlainObj predicate type.