why deepstreamHub? compare us getting started faq
use cases
products
developers
company
blog contact

HasResult provides the ability for clients to determine whether or not a record exists via client.record.has(_:) .

Methods

getResult()

class func getResult() -> Bool

Returns a boolean reflecting whether or not the record exists.

getError()

class func getData() -> DeepstreamError

Returns an error if there was one while checking for existence of the record..

hasError()

class func hasError() -> Bool

Returns a boolean indicating if there was an error checking the record exists.