Skip to content

isObject

Checks whether a value is an object: not null, and not a primitive or a function.

Import:

import { isObject } from '@mnaoumov/typescript-lib/type-guards';

Signature:

function isObject(value: unknown): boolean

Parameters:

Parameter Type Description
value unknown The value to check.

Returns: boolean — Whether the value is an object.