isA method

  1. @override
bool isA(
  1. Value? type,
  2. Machine vm
)
override

Return whether this value is the given type (or some subclass thereof) in the context of the given virtual machine.

Implementation

@override
bool isA(Value? type, tac.Machine vm) {
  if (type == null) return false;
  return identical(type, vm.functionType);
}