Skip to main content
Module

x/rimbu/base/mod.ts>PlainObj

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

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

definition: IsPlainObj<T> extends true ? T : never