Skip to content

MonkeyAroundComponentRegisterFunctionPatchParams.patchHandler method

MonkeyAroundComponentRegisterFunctionPatchParams › patchHandler

Patch handler function that takes the original value and returns the patched value.

Signature:

patchHandler(originalValue: $Object[FunctionName]): $Object[FunctionName]

Parameters:

ParameterTypeDescription
originalValue$Object[FunctionName]The original value of the function.

Returns: $Object[FunctionName]The patched value of the function.