Function Utilities
Functions implementing common logic like noop()
.
#
getDoneItemgetDoneItem(value) => IteratorResult
Returns an IteratorResult
with done
set to true
.
#
identityidentity(value) => value
Returns the same value
the was provided as the first argument.
#
negatenegate(value) => boolean
Inverts the sign of the numeric value
.
#
noopnoop() => void
An empty function.
#
notnot(value) => number
Performs boolean not !
operation with the vale.
#
rethrowrethrow(error) => never
Immidietly throws provided error
.