???.isNegative():

i need to something like the title and it dose not work
ive tried various things like .isNotPositive():, .isNegative():, etc…
can you do something like this?

OK, isPositive() returns a boolean, so just negate it.

if not sensor.isPositive():

thanks