Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "assert/is-undefined-or-null/docs/types/index.d"

Index

Functions

Functions

Export assignment isUndefinedOrNull

  • isUndefinedOrNull(value: any): boolean
  • Tests if a value is undefined or null.

    Parameters

    • value: any

      value to test

    Returns boolean

    boolean indicating whether value is undefined

    Example

    var bool = isUndefinedOrNull( undefined );
    // returns true
    
    bool = isUndefinedOrNull( null );
    // returns true
    
    bool = isUndefinedOrNull( false );
    // returns false