Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isNil

Index

References

Functions Lang

References

Renames and re-exports isNil

Lang Functions

  • isNil(value: any): boolean
  • Checks if value is null or undefined.

    since

    5.6.0

    example
    isNil(null)
    // => true

    isNil(void 0)
    // => true

    isNil(NaN)
    // => false

    Parameters

    • value: any

      The value to check.

    Returns boolean

    Returns true if value is nullish, else false.