tuweni / org.apache.tuweni.config / PropertyValidator / isValidPort

isValidPort

open static fun isValidPort(): PropertyValidator<Int!>! (source)

A validator that ensures a property, if present, is a well-formed port number.

Return
PropertyValidator<Int!>!: A validator that ensures a property, if present, is a well-formed number.