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

x/smx/src/modules/utils/guards.ts>isObject

Manage and sync scripts, configs and templates between computers
Latest
function isObject
import { isObject } from "https://deno.land/x/smx@v0.6.0/src/modules/utils/guards.ts";

Check if a value is an object of type T

Type Parameters

T extends { }

Parameters

e: unknown

value to validate

Returns

e is T

True if value is an object of type T