1.0.3 • Published 10 years ago

@f/is-action v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 years ago

is-action

Build status Git tag NPM version Code style

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

1.0.3

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago