openmixer — generated API reference
    Preparing search index...

    Function contractDeclares

    • Does the contract declare fact fact on kind kind? THE row-registration gate (phase 2): a per-channel row for fact F answers on kind K iff the contract's row says so — station residency decides which instances exist, this decides which kinds may have one at all. The generalisation of the #47 pattern's registration half; a declared fact whose write has no owner still registers and refuses honestly through ownerOfControl.

      Parameters

      • fact:
            | "fader"
            | "gain"
            | "pan"
            | "divergence"
            | "trim"
            | "polarity"
            | "align"
            | "name"
            | "colour"
            | "instrument"
            | "hrp"
            | "eq"
            | "gate"
            | "dynamics"
            | "drive"
            | "delay"
            | "reverb"
            | "width"
            | "order"
            | "chain"
            | "sends"
            | "mute"
            | "soloSafe"
            | "link"
            | "gateKey"
            | "fbs"
            | "record"
            | "toMain"
            | "sources"
            | "sourceRef"
            | "sourceStereo"
            | "solo"
            | "headAmp"
            | "inserts"
            | "meter"
            | "rta"
            | "recallSafe"
            | "members"
            | "parents"
            | "clip"
            | "source"

        the fact a row serves

      • kind:
            | "input"
            | "fxReturn"
            | "aux"
            | "mix"
            | "matrix"
            | "cue"
            | "main"
            | "fxSend"
            | "dca"
            | "muteGroup"
            | "mixMinus"

        the channel kind of the addressed instance

      Returns boolean

      whether the contract declares the fact on the kind