isMatrix method

dynamic isMatrix(
  1. dynamic type
)

Implementation

isMatrix(type) {
  return RegExp(r"mat\d").hasMatch(type);
}