Reference · Flags by their colours
FLAG_TAGSconstant
The names a flag's tag can have, in the order tagsOf gives them: a closed list, so a page can draw a chip for
each. Frozen. docs/tags.md says when each applies.
Import it
import { FLAG_TAGS } from "@johnmorrisdotca/hata/search";
Definition
const FLAG_TAGS: readonly TagName[] = Object.freeze([...TAG_NAMES])
Examples
import { FLAG_TAGS } from "@johnmorrisdotca/hata/search";
console.log(FLAG_TAGS.includes("stars"), FLAG_TAGS.length); // true 22true 22What it prints (run when this page was built)