@witchcraft/spellcraft
    Preparing search index...

    Interface Condition

    This just describes a condition. No logic to parse/evaluate them is provided and a third party library should be used. The ConditionEvaluator can then be used to specify how to evaluate them.

    interface Condition {
        text: string;
        type: "condition";
    }
    Index

    Properties

    Properties

    text: string

    The main text representation of the condition. Note that this is NOT a unique identifier for conditions and cannot be used to compare them if you are using boolean expressions for your conditions. See Condition.constructor for an explanation.

    type: "condition"