@f/is-action

1.0.3 • Public • Published

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

/@f/is-action/

    Package Sidebar

    Install

    npm i @f/is-action

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • f