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

x/rimbu/base/mod.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@1.0.3/base/mod.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