Skip to main content
Module

x/rambda/pipe-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {add, subtract, pipe} from 'rambda'
describe('R.pipe', () => { it('happy', () => { const result = pipe(subtract(11), add(1), add(1))(1) result // $ExpectType number })
it('with void', () => { const result = pipe( () => {}, () => {} )() result // $ExpectType void })})