PasswordRule

constructor(description: String, predicate: (password: String) -> Boolean)(source)

Parameters

description

The description of the rule.

predicate

The predicate that determines whether the rule is fulfilled.