Skip to content
@nlozgachev/pipekit
Docs
Search
Ctrl
K
Cancel
GitHub
Getting Started
Installation
Thinking in pipelines
Guides
Option — absent values
Result — handling failures
Validation — collecting errors
Task — async operations
RemoteData — loading states
These — inclusive OR
Brand — nominal types
Arr — array utilities
Rec — record utilities
Appendix
Design & influences
API Reference
Composition
Functions
and
compose
constant
constFalse
constNull
constTrue
constUndefined
constVoid
curry
curry3
curry4
flip
flow
identity
memoize
memoizeWeak
not
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
Option
functions
ap
chain
filter
fold
fromNullable
fromResult
fromUndefined
getOrElse
isNone
isSome
map
match
none
of
recover
some
tap
toNullable
toResult
toUndefined
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
variables
of
Result
functions
ap
chain
err
fold
getOrElse
isErr
isOk
map
mapError
match
of
ok
recover
recoverUnless
tap
toOption
tryCatch
Task
functions
all
ap
chain
delay
from
map
of
repeat
repeatUntil
tap
timeout
TaskOption
functions
ap
chain
filter
fold
fromOption
fromTask
getOrElse
map
match
none
of
tap
toTaskResult
tryCatch
TaskResult
functions
chain
err
fold
getOrElse
map
mapError
match
of
recover
retry
tap
timeout
tryCatch
TaskValidation
functions
ap
chain
fail
fold
fromValidation
getOrElse
map
match
of
recover
tap
tryCatch
These
functions
bimap
both
chain
err
fold
getOrElse
hasError
hasValue
isBoth
isErr
isOk
map
mapErr
match
ok
swap
tap
toOption
toResult
Validation
functions
ap
chain
combine
combineAll
fail
fold
getOrElse
isInvalid
isValid
map
match
of
recover
recoverUnless
tap
toInvalid
toValid
Type Aliases
Both
Err
Failure
Invalid
Loading
None
NotAsked
Ok
Option
RemoteData
Result
Some
Success
Task
TaskOption
TaskResult
TaskValidation
These
Valid
Validation
Types
Namespaces
Brand
functions
unwrap
wrap
Type Aliases
Brand
NonEmptyList
Functions
isNonEmptyList
GitHub
None
None
=
WithKind
<
"None"
>
Defined in:
Core/Option.ts:23