Skip to content

success

success(reply: Reply): * | null

Returns the parse result from a successful parse reply.

If the reply is not, in fact, successful, this function returns null.

Parameters

  • reply: A parse reply, presumably the return value of a call to parse.

Returns

  • Returns the result that comes from the parse reply, if it was successful. If it failed, null is returned..

See Also