WhateverToBoolOperator extension
Extension to add the operator ~
to everything in dart except int
objects
- on
-
- dynamic
Operators
-
operator ~(
) → bool -
Operator that converts the current object to a negate
bool
instance You can use it twice (~~myValue
) to get the actualbool
value of the current object