R/JSContext.R
JSContext-method-validate.Rd
Checks whether JS code string is valid code in the current context
validate(code_string)
An object of class NULL of length 0.
NULL
The JS code to check
A boolean indicating whether code is valid
if (FALSE) { # \dontrun{ ctx <- JSContext$new() ctx$validate("1 + 2") } # }