code: public Criteria type(Class<?> clazz) {
          this.criteriaType = RelationalOperator.TYPE;
          this.right = ValueNode.createClassNode(clazz);
          return this;
      }
docs: The $type operator matches values based on their Java JSON type.
  
  Supported types are:
  
  List.class
  Map.class
  String.class
  Number.class
  Boolean.class
  
  Other types evaluates to false
  
  @param clazz
  @return the criteria