class Func internal
Represents an AST event or dynamic prop value
Examples
ruby
node { @click="func" }ruby
# Computed props can take loop args
node { :prop="func(arg, index)" }#initialize(method, args) internal
Constructor for Func
Arguments
- method - the name of the func or a proc that the func evaluates to (String | Proc)
- args - an array of argument names (String) for the func
#proc? internal
Is the func made with Hokusai::NodeBuilder?
Returns
Returns boolean