operator ~ method

bool operator ~()

Operator that converts the current object to a negate bool instance You can use it twice (~~myValue) to get the actual bool value of the current object

Implementation

bool operator ~() => !asBool(this);