Skip to content

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 to parse.

Returns

  • Returns true if the reply was successful or false if it was not.

See Also