@saunos/utils

Array

boilDownTo
intersects
list
max
mergeBy
min
objectify
range
removeInPlace
replace
replaceOrAppend
shift
toArray
toggle
toggleInPlace
zip

Async

sleep
tryIt

Class ExtractProps is a utility type that extracts the properties of a class that are not functions.

ExtractProps

Curry

pipe

Number

inRange
toFloat
toInt

Object

assign
construct
flattenKeys
listify
mapEntries
shake

Other

Func
FuncN
JsonPath
UnaryFunc

Predicates

assert
assertNever
assertNotNull
isEmpty
isInt
isPromise

Random

draw
random
shuffle
uid

Series

series

String

template
title

Utility Creates a lazy-evaluated value and automatically memoizes it.

lazy

Utility Creates a proxy that allows for type-safe access to nested properties of an object.

jsonPathProxy