public boolean isNumeric() {
        return this == BYTE || this == SHORT || this == INTEGER || this == LONG ||
                 this == FLOAT || this == DOUBLE || this == BIG_INTEGER || this == BIG_DECIMAL;
    }
Returns {@code true} if the type is a number.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/GType.java