Function isRegularFamiliarTag

  • Type guard function to determine if a tag is a regular familiar tag or a pokefam ult

    Parameters

    • tag: string

      The familiar tag to check

    Returns tag is
        | "object"
        | "food"
        | "spooky"
        | "stench"
        | "hot"
        | "cold"
        | "sleaze"
        | "animal"
        | "insect"
        | "haseyes"
        | "haswings"
        | "fast"
        | "bite"
        | "flies"
        | "hashands"
        | "wearsclothes"
        | "organic"
        | "vegetable"
        | "hovers"
        | "edible"
        | "sentient"
        | "cute"
        | "mineral"
        | "polygonal"
        | "undead"
        | "cantalk"
        | "evil"
        | "orb"
        | "aquatic"
        | "swims"
        | "isclothes"
        | "phallic"
        | "hasbeak"
        | "haslegs"
        | "robot"
        | "technological"
        | "hard"
        | "hasbones"
        | "hasclaws"
        | "reallyevil"
        | "good"
        | "person"
        | "humanoid"
        | "animatedart"
        | "software"
        | "hasshell"
        | "hasstinger"

    Asserts that tag is a RegularFamiliarTag