isFunc property
bool
get
isFunc
Query if this lua object has a Function stord in value.
For the metamethod __call see isCallable.
Implementation
bool get isFunc => switch (isRef) {
true => deref().isFunc,
false => _value is Function,
};