constraints
Valid
private open fun constraintsValid( character: Char, includeNumbers: Boolean, includeUppercaseLetters: Boolean, includeSpecialCharacters: Boolean): Boolean
Method used to check whether the generated character respect the constraints requested by the user
Return
whether the generated character respect the constraints requested by the user as boolean
Parameters
character
The generated character to check
includeNumbers
Whether the generated password must include the numbers
includeUppercaseLetters
Whether the generated password must include the uppercase letters
includeSpecialCharacters
Whether the generated password must include the special characters