ValidateNotEmptyText

class ValidateNotEmptyText(resourceProvider: ResourceProvider)

Validator class for non-empty text.

Parameters

resourceProvider

The resource provider for accessing application resources.

Constructors

Link copied to clipboard
constructor(resourceProvider: ResourceProvider)

Functions

Link copied to clipboard
operator fun invoke(text: String, name: String): ValidationResult

Validates that a given text is not empty or blank.