Array of arguments that were passed to the wrapping function.
Value of arg[0]
.
Whether wrapping function is called as object's method or as usual function (by a call operation).
Whether wrapping function is called to get field's value (by get operation, as field's getter).
Whether wrapping function is called to set field's value (by set operation, as field's setter).
Whether wrapping function (and handler
) is called during unwrapping.
Context (this
) with which wrapping function is called.
Value of settings.data
option.
Name of the field or method that was wrapped.
Whether field's get and/or set operation was wrapped.
Whether standalone function (not object's field/method) was wrapped.
Function that returns field's current value if field was wrapped.
Name of the method or function that was wrapped.
Whether method was wrapped.
Number of handler
's call (starting from 1).
Result of original function/method when it is called before handler
.
Method that calls original function/method or field's getter/setter;
by default values from arg
will be used as arguments;
but you may pass arguments to run
and they will be used instead of the original arguments.
Similar to run
but accepts an array of new arguments, e.g. runApply([1, 2, 3])
is equivalent to run(1, 2, 3)
;
if the first argument of runApply
is not an array it will be wrapped into array (i.e. [arguments[0]]
);
only the first argument of runApply
is used.
An object that can be used to preserve some values between handler
calls.
Function that changes field's current value if field was wrapped.
Value of settings
parameter; except for settings.bind
and settings.context
,
it is possible to change any setting to alter following execution;
so be careful when you change a field's value of settings
object.
Original function or method that was wrapped, or name of wrapped field.
An object whose field/method was wrapped and replaced.
Previous value returned by wrapping function.
Generated using TypeDoc
Handler's parameter.