Assemble a new Container around the entity.
Pass subject to function, yielding result.
Function to invoke
Pass elements of (array-like) subject to function, yielding result.
Function to invoke
Declare an expectation on the yielded value.
Filter elements of (array-like) subject by predicate, yielding result.
Function to invoke
Yield a nested property on the subject.
Pass elements of (array-like) subject to function, yielding result.
Function to invoke
Resolve yielded subject.
Yield an arbitrary subject.
Build an empty box. Throw an error on yield if opened without wrapping anything else.
Generated using TypeDoc
Box implements an abstract monad-ish container pattern. (Similar to
cy
,$
,_
to some degree etc)