failed | R Documentation |
Use this function to test whether your parser failed, for example in unit testing of your parsers when writing a package.
failed(o)
o |
Output from a parser. |
A logical value.
print.marker()
d <- (literal("A") %then% literal("B"))(c("A","A"))
d
failed(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.