fp-pipe-ref

Installation
SKILL.md

pipe & flow Quick Reference

pipe - Transform a Value

import { pipe } from 'fp-ts/function'

// pipe(startValue, fn1, fn2, fn3)
// = fn3(fn2(fn1(startValue)))

const result = pipe(
  '  hello world  ',
  s => s.trim(),
  s => s.toUpperCase(),
  s => s.split(' ')
)
// ['HELLO', 'WORLD']
Installs
2
GitHub Stars
9
First Seen
13 days ago
fp-pipe-ref — whatiskadudoing/fp-ts-skills