Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(public readonly expression: Expression, public readonly value: number) {
super();
ensure(Expression.name, expression, isDefined());
ensure('Result value', value, isDefined(), isNumber());
}
}
constructor(public readonly value: number) {
super();
ensure(Operand.name, value, isDefined(), isNumber());
}
}