public static DataType typeOf(Object value) {
    return switch (value) {
      case String ignored -> GET_STRING;
      case Integer ignored -> GET_INT;
      case Long ignored -> GET_LONG;
      case Double ignored -> GET_DOUBLE;
      case Boolean ignored -> GET_BOOLEAN;
      default -> GET_TAG;
    };
  }
Returns the data type associated with {@code value}, or {@link #GET_TAG} as a fallback.
planetiler-core/src/main/java/com/onthegomap/planetiler/expression/DataType.java