Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/redux-docs-restructure-ideas.
Something went wrong. Try again.
516 B
Markdown
at main
id: utils title: Additional Utilities hide_title: true description: 'API > utils: Additional utility functions' #
Utility Functions #
The Redux core exports additional utility functions for reuse.
isAction #
Returns true if the parameter is a valid Redux action object (a plain object with a string type field).
This also serves as a TypeScript type predicate, which will narrow the TS type to Action<string>.
isPlainObject #
Returns true if the value appears to be a plain JS object.