Skip to content
pipelined
Docs
Search
Ctrl
K
Cancel
GitHub
npm
Getting Started
Installation
Thinking in pipelines
Guides
Composition utilities
Option — absent values
Result — handling failures
Validation — collecting errors
Deferred — infallible async values
Task — lazy async
RemoteData — loading states
These — inclusive OR
Lens — nested updates
Optional — nullable paths
Reader — deferred dependencies
Brand — distinguishing values
Arr — array utilities
Rec — record utilities
Appendix
Why this exists
Design & influences
API Reference
Composition
Functions
and
compose
constant
constFalse
constNull
constTrue
constUndefined
constVoid
converge
curry
curry3
curry4
flip
flow
identity
juxt
memoize
memoizeWeak
not
on
once
or
pipe
tap
uncurry
uncurry3
uncurry4
Core
Namespaces
Arr
functions
chunksOf
drop
dropWhile
every
filter
findFirst
findIndex
findLast
flatMap
flatten
groupBy
head
init
intersperse
isNonEmpty
last
map
partition
reduce
reverse
sequence
sequenceResult
sequenceTask
size
some
sortBy
tail
take
takeWhile
traverse
traverseResult
traverseTask
uniq
uniqBy
zip
zipWith
Deferred
functions
fromPromise
toPromise
Lens
functions
andThen
andThenOptional
get
make
modify
prop
set
toOptional
Option
functions
ap
chain
filter
fold
fromNullable
fromResult
fromUndefined
getOrElse
isNone
isSome
map
match
none
recover
some
tap
toNullable
toResult
toUndefined
Optional
functions
index
andThen
andThenLens
fold
get
getOrElse
make
match
modify
prop
set
Reader
functions
ap
ask
asks
chain
local
map
resolve
run
tap
Rec
functions
entries
filter
filterWithKey
fromEntries
isEmpty
keys
lookup
map
mapWithKey
merge
omit
pick
size
values
RemoteData
functions
ap
chain
failure
fold
getOrElse
isFailure
isLoading
isNotAsked
isSuccess
loading
map
mapError
match
notAsked
recover
success
tap
toOption
toResult
Result
functions
ap
chain
err
fold
getOrElse
isErr
isOk
map
mapError
match
ok
recover
recoverUnless
tap
toOption
tryCatch
Task
functions
all
ap
chain
delay
from
map
repeat
repeatUntil
resolve
tap
timeout
TaskOption
functions
ap
chain
filter
fold
fromOption
fromTask
getOrElse
map
match
none
some
tap
toTaskResult
tryCatch
TaskResult
functions
chain
err
fold
getOrElse
map
mapError
match
ok
recover
retry
tap
timeout
tryCatch
TaskValidation
functions
ap
chain
fold
fromValidation
getOrElse
invalid
invalidAll
map
match
recover
tap
tryCatch
valid
These
functions
both
chainFirst
chainSecond
first
fold
getFirstOrElse
getSecondOrElse
hasFirst
hasSecond
isBoth
isFirst
isSecond
mapBoth
mapFirst
mapSecond
match
second
swap
tap
Validation
functions
ap
chain
combine
combineAll
fold
getOrElse
invalid
invalidAll
isInvalid
isValid
map
match
recover
recoverUnless
tap
valid
Type Aliases
Deferred
Err
Failure
Invalid
Lens
Loading
None
NotAsked
Ok
Option
Optional
Reader
RemoteData
Result
Some
Success
Task
TaskOption
TaskResult
TaskValidation
These
TheseBoth
TheseFirst
TheseSecond
Valid
Validation
Types
Namespaces
Brand
functions
unwrap
wrap
Type Aliases
Brand
NonEmptyList
Functions
isNonEmptyList
GitHub
npm
constTrue
constTrue
():
true
Defined in:
Composition/fn.ts:25
Always returns
true
.
Returns
Section titled “Returns”
true