Module: Prelude

Misc generic functions
Source:

Methods

(inner) itself(arg) → {A}

Parameters:
Name Type Description
arg A
Source:
Returns:
Type
A

(inner) orthogonalMap(values, mapper, replacement) → {Array.<B>}

Parameters:
Name Type Default Description
values Array.<A>
mapper Mapper.<A, B>
replacement A null
Source:
Returns:
Type
Array.<B>

(inner) orthogonalTransform(values, mapper, replacement) → {Orthogonal.<B>}

Parameters:
Name Type Default Description
values Array.<A>
mapper Mapper.<A, B>
replacement A null
Source:
Returns:
Type
Orthogonal.<B>

(inner) pivot(one, other, backopt)

Parameters:
Name Type Attributes Default Description
one T
other T
back boolean <optional>
false
Source:
Returns: