UNPKG

redux-action

Version:
19 lines (16 loc) 343 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.throwError = throwError; exports.isFunc = isFunc; exports.isString = isString; function throwError(msg) { throw new Error(msg); } function isFunc(val) { return typeof val === 'function'; } function isString(val) { return typeof val === 'string'; }