PokéRogue
    Preparing search index...
    interface toHaveTypesOptions {
        args?: [
            includeTeraType: boolean,
            forDefend: boolean,
            ignoreOverride: boolean,
            useIllusion: boolean,
        ];
        mode?: "ordered"
        | "unordered"
        | "superset";
    }
    Index

    Properties

    Properties

    args?: [
        includeTeraType: boolean,
        forDefend: boolean,
        ignoreOverride: boolean,
        useIllusion: boolean,
    ]

    Optional arguments to pass to Pokemon.getTypes.

    mode?: "ordered" | "unordered" | "superset"

    Value dictating the strength of the enforced typing match.

    Possible values (in ascending order of strength) are:

    • "ordered": Enforce that the Pokemon's types are identical and in the same order
    • "unordered": Enforce that the Pokemon's types are identical without checking order
    • "superset": Enforce that the Pokemon's types are a superset of the expected types (all must be present, but extras can be there)

    "unordered"