import { flag } from "https://dotland.deno.dev/x/chai@v5.1.2/lib/chai/utils/flag.js";
.flag(object, key, [value])
Get or set a flag value on an object. If a
value is provided it will be set, else it will
return the currently set value or undefined
if
the value is not set.
utils.flag(this, 'foo', 'bar'); // setter
utils.flag(this, 'foo'); // getter, returns `bar`