isPrimitiveTypeFor static method

bool isPrimitiveTypeFor(
  1. Type type
)

Implementation

static bool isPrimitiveTypeFor(Type type) {
  return type == _TypeWrapper.tString ||
      type == _TypeWrapper.tInt ||
      type == _TypeWrapper.tDouble ||
      type == _TypeWrapper.tNum ||
      type == _TypeWrapper.tBool;
}