api/src/main/java/com/tersesystems/echopraxia/api/Condition.java
/**
   * Searches through the fields for the given field name and value.
   *
   * @param fieldName The name of the field.
   * @param predicate a predicate
   * @return true if no elements match the predicate, false otherwise.
   */
Searches through the fields for the given field name and value.
@param fieldName The name of the field.
@param predicate a predicate
@return true if no elements match the predicate, false otherwise.
Searches through the fields for the given field name and value . @param fieldName The name of the field . @param predicate a predicate @return true if no elements match the predicate false otherwise .
static Condition valueMatch(String fieldName, Predicate<Value<?>> predicate) {
    return (level, ctx) ->
        ctx.getFields().stream()
            .filter(f -> f.name().equals(fieldName))
            .map(Field::value)
            .anyMatch(predicate);
  }
static Condition valueMatch ( String fieldName , Predicate < Value < ? > > predicate ) { return ( level , ctx ) -> ctx . getFields ( ) . stream ( ) . filter ( f -> f . name ( ) . equals ( fieldName ) ) . map ( Field :: value ) . anyMatch ( predicate ) ; }
Searches through the fields for the given field name and value.
Searches through the fields for the given field name and value .