Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add isEqual() function into condition Operand class #3458

Closed
andrewtelnov opened this issue Oct 8, 2021 · 0 comments
Closed

add isEqual() function into condition Operand class #3458

andrewtelnov opened this issue Oct 8, 2021 · 0 comments
Assignees
Milestone

Comments

@andrewtelnov
Copy link
Member

We need the way to compare two expressions.
These two expressions are equal: "{queston1} == 1" and "{queston1}=1", but we can't compare them as strings.
It could be checked as:

const op1 = new ConditionsParser().parseExpression("{queston1} ==   1");
const op2 = new ConditionsParser().parseExpression("{queston1} =1");
console.log(op1.isEqual(op2)); //it returns true
@andrewtelnov andrewtelnov added this to the v1.8.72 milestone Oct 8, 2021
@andrewtelnov andrewtelnov self-assigned this Oct 8, 2021
@andrewtelnov andrewtelnov added this to Incoming in Current sprint progress via automation Oct 8, 2021
@andrewtelnov andrewtelnov moved this from Incoming to In Progress in Current sprint progress Oct 8, 2021
@tsv2013 tsv2013 closed this as completed in 8714928 Oct 9, 2021
Current sprint progress automation moved this from In Progress to v1.8.72 Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant