validate

abstract fun validate(text: String): Boolean

Validates text and returns if it matches the need of the user

Return

true if the scanned text is valid

Parameters

text

string to check