powered by
Test helper function to validate PUT annotation syntax
is_valid_put_annotation(line)
Logical indicating if the annotation is valid
Character string containing a PUT annotation
is_valid_put_annotation('#put name:"test", label:"Test"') # TRUE is_valid_put_annotation("#put invalid syntax") # FALSE
Run the code above in your browser using DataLab