bool :sneq ( mixed $ARG , … )
bool :!== ( mixed $ARG , … )
Takes any number of arguments and performs a strict-non-equals comparison between them. This means that no type conversions are performed; values of different types are considered non-equal. This holds true even for integer subtypes - i255
and hFF
are :sneq
unequal.
In practice, works the same as if performing a chained :not :seq
call.
# :sneq example. :set &STR s'123' :set &NUM i123 :writeln s'STR and NUM are ' (:fork (:neq $STR $NUM) s'unequal' s'equal') s' (loose).' :writeln s'STR and NUM are ' (:fork (:sneq $STR $NUM) s'unequal' s'equal') s' (strict).'
wikistrona zmodyfikowana 2014/0601/2317