is_query | R Documentation |
x
a query?Checks if x
is a tree_sitter_query
or not.
is_query(x)
x |
An object. |
TRUE
if x
is a tree_sitter_query
, otherwise FALSE
.
source <- "(identifier) @id"
language <- treesitter.r::language()
query <- query(language, source)
is_query(query)
is_query(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.