Bomb Bloke, on 04 February 2017 - 01:02 AM, said:
But "not type(whatever)" will always be a boolean, which will never be equal to "string".
That is to say,
not type(var) == "string"
... is the same as:
(not type(var)) == "string"
... which is different to:
not (type(var) == "string")
... which is the same as:
type(var) ~= "string"
Thanks for the explanation, helps a lot!