@f/is-action
1.0.3 • Public • Published
is-action
Check if standard action.
Installation
$ npm install @f/is-action
Usage
var isAction = require('@f/is-action')
isAction({type: 'action', payload: 'foo'}) // => true
API
isAction(obj)
-
obj
- obj
to test if action
Returns: boolean indicating whether obj
is action
License
MIT
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads