Rest
...expressions: any[]exp("1 + 2"); // 3
const new_balance = expr`
+ ${initial_balance}
+ ${sales}
- ${expenses}
`;
const F = expr`
* ${gravitational_constant}
* ${mass_a}
* ${mass_b}
/ ${Math.pow(distance, 2)}
`;
if (expr`
&& ${is_eligible}
&& (
|| ${is_of_age}
|| ${has_parental_consent}
)
`) {}
Generated using TypeDoc
Evaluates a numerical or logical expression.