manifold icon indicating copy to clipboard operation
manifold copied to clipboard

Support `!` operator overloads

Open rsmckinney opened this issue 2 years ago • 4 comments

From Michael Chow on slack channel:

Hi, What about supporting operator overloading for ! ? Recently I noted a negative predicate is very useful in some case, such as getting >the negation of Predicate.isEqual(someObj). However we have available now only the operator overloading for -(unaryMinus), which >means negation of numbers, not predicates.

rsmckinney avatar Feb 24 '23 04:02 rsmckinney

I can't wait to use ! instead of static methods like Predicate.not. May I ask whether this feature already in development?

mizhoux avatar Oct 13 '23 05:10 mizhoux

Hi @mizhoux. Not implemented yet, but it will be soon after manifold-sql development is finished and released.

rsmckinney avatar Oct 13 '23 16:10 rsmckinney

Feature available in release 2024.1.1

rsmckinney avatar Jan 08 '24 17:01 rsmckinney

Well done! I can't wait to try it.

mizhoux avatar Jan 09 '24 07:01 mizhoux