T(Function)
KR FunctionWrapper
Description
T(Function) contains a function, and executes by bang().
Properties
func(Function)- A function contained. Its default value is NOP. Return value is the output value.
args(Array)- Arguments given to an
func
- Arguments given to an
Methods
bang(...)- A
funcis performed. When a return value is a numerical value, an own output value is updated.
- A
Note
- When
bang()has arguments, the arguments +.argsproperty serve as arguments passed to a function.