Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "object/is-object"

Index

Functions

Functions

isObject

  • isObject<T>(obj: unknown): obj is T & UnknownObject
  • Checks if the given value is an object and not null.

    Type parameters

    • T

    Parameters

    • obj: unknown

      The object to check.

    Returns obj is T & UnknownObject

    True if it is an object and not null, false otherwise.

Generated using TypeDoc