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
func
is performed. When a return value is a numerical value, an own output value is updated.
- A
Note
- When
bang()
has arguments, the arguments +.args
property serve as arguments passed to a function.