1.0.1 • Published 4 years ago

@bemoje/is-arguments v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@bemoje/is-arguments

Returns whether the passed value is an arguments-object

Version

Travis CI

Dependencies

Stats

Donate

Installation

npm install @bemoje/is-arguments
npm install --save @bemoje/is-arguments
npm install --save-dev @bemoje/is-arguments

Usage

import isArguments from '@bemoje/is-arguments'

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

isArguments(1, 2)
//=> false

Tests

Uses Jest to test module functionality. Run tests to get coverage details.

npm run test

API

isArguments

Returns

whether the passed value is an arguments-object

Parameters
  • value any The value to evaluate.
Returns

boolean