Function: thrush

thrush<I, K>(arg, proc): K

Takes a value and applies a function to it.

Type parameters

Name
I
K

Parameters

NameType
argI
proc(arg: I) => K

Returns

K