#
memoize
Function • Returns a function that calls the given function once for a given set arguments. Subsequent invocations with the same arguments will simply return the value returned by the initial invocation. The arguments must be serializable with toString
.
memoize function → function
Arguments
name | type | description |
---|---|---|
function | Any |
Returns
name | type | description |
---|---|---|
function | Any |