Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util/is/object.ts>isObject

Package publishing for deno.land/x/polkadot
Go to Latest
function isObject
import { isObject } from "https://deno.land/x/polkadot@0.2.19/util/is/object.ts";

Examples

import { isObject } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';

isObject({}); // => true
isObject('something'); // => false

Type Parameters

optional
T extends ObjectIndexed = ObjectIndexed

Parameters

optional
value: unknown

Returns

value is T