true, default => false, }; } public function isVec(): bool { return match ($this) { ValType::V128 => true, default => false, }; } public function isRef(): bool { return match ($this) { ValType::FuncRef , ValType::ExternRef => true, default => false, }; } }