config / org.apache.tuweni.config / PropertyValidator / anyOfIgnoreCase

anyOfIgnoreCase

open static fun anyOfIgnoreCase(vararg values: String): PropertyValidator<String> (source)
open static fun anyOfIgnoreCase(values: MutableCollection<String>): PropertyValidator<String> (source)

A validator that ensures a property, if present, has a value within a given set.

Parameters

values - The acceptable values.

Return
A validator that ensures a property, if present, is within a given set.