Validate

typealias Validate = (response: Response) -> Boolean

Type alias for a function that validates a response.

Return

A Boolean value indicating whether the response is valid. Return true if valid, false otherwise.

Parameters

response

The response from the request.