CustomValidator

constructor(message: String, validator: (field: Any?) -> Boolean)