Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/base/index.ts>isPlainObj

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

Companion function to the IsRecord<T> type that checks whether the given object is a pure data object.

Parameters

obj: any
  • the object to check

Returns

obj is object

true if the given object is a pure data object