invoke

operator fun invoke(password: String): ValidationResult

Validates that a given password is not empty or blank.

Return

A ValidationResult object indicating the success or failure of the validation.

Parameters

password

The password to be validated.