AllOf

Composite rule that requires ALL child rules to pass.

Constructors

Link copied to clipboard
constructor(vararg rules: MentionValidationRule)
constructor(rules: List<MentionValidationRule>)

Properties

Link copied to clipboard
open override val description: String

Human-readable description of this rule.

Link copied to clipboard

List of rules that must all pass

Functions

Link copied to clipboard
open fun failureReason(mention: String): String?
Link copied to clipboard
open fun isValid(mention: String): Boolean
Link copied to clipboard
open override fun validate(mention: String): ValidationResult

Validate a mention span.