Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "assert/is-array-array/docs/types/index.d"

Index

Functions

Functions

Export assignment isArrayArray

  • isArrayArray(value: any): boolean
  • Tests if a value is an array of arrays.

    Parameters

    • value: any

      value to test

    Returns boolean

    boolean indicating whether a value is an array of arrays

    Example

    var bool = isArrayArray( [ [], [] ] );
    // returns true
    
    bool = isArrayArray( [ {}, {} ] );
    // returns false
    
    bool = isArrayArray( [] );
    // returns false