Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "object/is-nil"

Index

Functions

Functions

isNil

  • isNil<T>(thing: T | undefined | null): thing is nil
  • Checks if a given thing is null or undefined.

    Type parameters

    • T

    Parameters

    • thing: T | undefined | null

      The thing to check against.

    Returns thing is nil

    True if it is, false otherwise.

Generated using TypeDoc