succeeded
succeeded(reply: Reply): boolean
Determines whether a parse reply indicates success.
This utility function simply reads the status
from the reply and returns true
if it is Status.Ok
and false
otherwise.
Parameters
reply
: A parse reply, presumably the return value of a call toparse
.
Returns
- Returns
true
if the reply was successful orfalse
if it was not.