isVector method

dynamic isVector(
  1. dynamic type
)

Implementation

isVector(type) {
  return RegExp(r"vec\d").hasMatch(type);
}