inString | String Optional. String to be checked. |
ifPresent | Boolean Optional. If the value is set to true, the service checks whether inString is present or not, and only then proceeds with validation of the input. If the value is set to false, the service throws an exception when inString is absent. Else, the service proceeds to validate the input. |
isNullEmptyOrWhitespace | String Indicates whether inString is null, empty, or only whitespace. true indicates that inString has a null value, is empty, or is only whitespace. false indicates that inString is not null, not empty, or is not only whitespace. |