Skip to main content
Module

x/rambda/source/apply-spec.ts

Faster and smaller alternative to Ramda
Latest
File
import {apply, identity} from 'rambda'
describe('R.apply', () => { it('happy', () => { const result = apply<number>(identity, [1, 2, 3])
result // $ExpectType number }) it('curried', () => { const fn = apply<number>(identity) const result = fn([1, 2, 3])
result // $ExpectType number })})