The ! prefix is the Boolean negation operator. It inverts the Boolean value of its operand. say !True; # Falsesay !''; # Truesay !0; # Truesay !42; # False