Judge a string is an angle.
static bool isAngle(String angle) { return (angle.endsWith(_DEG) || angle.endsWith(_GRAD) || angle.endsWith(_RAD) || angle.endsWith(_TURN)); }