1.0.0 • Published 10 years ago
@f/is-action-type v1.0.0
is-action-type
Check if is standard action of specified type.
Installation
$ npm install @f/is-action-typeUsage
var isActionType = require('@f/is-action-type')
isActionType('foo', {type: 'foo', payload: 'bar'}) // => trueAPI
isActionType(type, action)
type- type of actionaction- action to check type of
Returns: whether action is of type type
License
MIT
1.0.0
10 years ago