Socket
Book a DemoInstallSign in
Socket

@malfaitrobin/redux-utils

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@malfaitrobin/redux-utils

Redux utilities

latest
Source
npmnpm
Version
0.0.1-3
Version published
Maintainers
1
Created
Source

Redux utils npm version npm downloads

Some functions that are used across the different packages.

Installation

With yarn:

yarn install @malfaitrobin/redux-utils

With npm:

npm install --save @malfaitrobin/redux-utils

Usage

isFunction

Tells you if a given value is a function or not.

import { isFunction } from "@malfaitrobin/redux-utils";

isFunction(() => 5); // true

isFunction(undefined); // false
isFunction(null); // false
isFunction({}); // false
isFunction([]); // false
isFunction(5); // false
isFunction(true); // false
isFunction(false); // false
isFunction(class Example {}); // false

FAQs

Package last updated on 29 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts