Is there an existing issue for this?
I am following the documentation's guide
This issue exists in the latest version
Current Behavior
Using the matches expression, a value is compared to a given interface, which can either result in true or false. However, using any value other than an object causes the expression to fail or return incorrect true states, due to the function being incorrectly implemented.
Expected Behavior
The matches expression should return false for those cases.
Steps To Reproduce
- Write an interface with any number of members (may be none)
- Use the
matches expression with any primitive value, e.g.: 1 matches Xax
Environment
- Kipper: 0.13.0-alpha.2
- Environment: Firefox Nightly
- Operating System: Arch Linux
Is there an existing issue for this?
I am following the documentation's guide
This issue exists in the latest version
Current Behavior
Using the
matchesexpression, a value is compared to a given interface, which can either result in true or false. However, using any value other than an object causes the expression to fail or return incorrecttruestates, due to the function being incorrectly implemented.Expected Behavior
The
matchesexpression should returnfalsefor those cases.Steps To Reproduce
matchesexpression with any primitive value, e.g.:1 matches XaxEnvironment