Function isArguments

  • Checks if value is likely an arguments object.

    Parameters

    • value: any

      The value to check.

    Returns value is IArguments

    Returns true if value is an arguments object, else false.

    5.5.0

    isArguments(function() { return arguments }())
    // => true

    isArguments([1, 2, 3])
    // => false