Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Functions

Functions

Export assignment isArguments

  • isArguments(value: any): boolean
  • Tests whether a value is an arguments object.

    Parameters

    • value: any

      value to test

    Returns boolean

    boolean indicating whether a value is an arguments object

    Example

    function foo() {
        return arguments;
    }
    
    var bool = isArguments( foo() );
    // returns true

    Example

    var bool = isArguments( [] );
    // returns false