Function isArguments

  • Checks if value is likely an arguments object.

    Type Parameters

    • Value

    Parameters

    Returns unknown extends Value
        ? boolean
        : Value extends IArguments
            ? true
            : false

    Since

    1.0.0

    Example

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

    Example

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