isNumNumeric property

bool get isNumNumeric

判断是否为数字类型

Implementation

bool get isNumNumeric {
  if (this == null) {
    return false;
  }
  if (this is num) {
    return true;
  }
  return false;
}