In R ,! really is an infix operator `!`, therefore statements like
Map(`!`,c(T,F,F))
fully valid. Is there a way to access the first object that is not in Python? I did not search for searches.
Python has a operatormodule that includes a operator.not_()function :
operator
operator.not_()
import operator map(operator.not_, (True, False, False))
notitself is one of the logical operators .
not