Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(source: &str) -> Result<Node>
Expand description

Evaluate one !!js expression, reading environment variables from the process environment.

ยงErrors

Syntax errors, operators or references outside the supported subset, and an unreadable working directory (for process.cwd()) fail with IncludeError::JsExpression.