isObject

Tests whether a value is an object.

IMPORT

import { isObject } from "@donedeal0/superdiff";

FORMAT

Input

value: unknown;
  • value: the value whose type will be checked.

Output

boolean

USAGE

Input

isObject(["hello", "world"]);

Output

false

Last updated