@newdash/newdash
Version:
javascript/typescript utility library
20 lines (19 loc) • 450 B
TypeScript
/**
* Checks if `value` is likely an `arguments` object.
*
* @since 5.5.0
* @category Lang
* @param value The value to check.
* @returns Returns `true` if `value` is an `arguments` object, else `false`.
* @example
*
* ```js
* isArguments(function() { return arguments }())
* // => true
*
* isArguments([1, 2, 3])
* // => false
* ```
*/
export declare function isArguments(value: any): value is IArguments;
export default isArguments;