| is_parser | R Documentation |
x a parser?Checks if x is a tree_sitter_parser or not.
is_parser(x)
x |
An object. |
TRUE if x is a tree_sitter_parser, otherwise FALSE.
language <- treesitter.r::language()
parser <- parser(language)
is_parser(parser)
is_parser(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.