New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@annexe/fn.partialright

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@annexe/fn.partialright

A utility function to partially apply function arguments from the right.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

@annexe/partialright

A function to partially apply function arguments.

Installation

To install @annexe/partialright:

Yarn

yarn add @annexe/partialright

NPM

npm install @annexe/partialright

Usage

import { partialRight } from '@annexe/partialright';

const sum = (a: number, b: number, c: number) => a + b;
const partialFn = partialRight<number[], number[], number>(sum, 2, 3);
console.log(partialFn(1)); // prints 6

Keywords

partial application right

FAQs

Package last updated on 21 Apr 2021

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