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

x/polkadot/util/mod.ts>isObject

Package publishing for deno.land/x/polkadot
Go to Latest
function isObject
Re-export
import { isObject } from "https://deno.land/x/polkadot@0.2.11/util/mod.ts";

Examples

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

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

Type Parameters

optional
T extends ObjectIndexed = ObjectIndexed

Parameters

optional
value: unknown

Returns

value is T