====== notflag ====== {{tag>math bitfield}} ''bool notflag(int allflags, int flag)'' ===== Description ===== Returns true if the given flag is **not** set in ''allflags''. Shorthand for ''!(allflags & flag)''. ===== Examples ===== if (notflag(flags, FLAG_NOSOMETHING)) { DoSomething(); ... }