@libraz/libcantus - v1.1.0
    Preparing search index...

    Type Alias KeyRelation

    KeyRelation:
        | "same"
        | "enharmonic"
        | "relative"
        | "parallel"
        | "dominant"
        | "subdominant"
        | "relativeOfDominant"
        | "relativeOfSubdominant"

    How one key stands to another, as reported by keyRelationBetween and tagged onto every entry of relatedKeysOf.

    import type { KeyRelation } from '@libraz/libcantus';
    const relation: KeyRelation = 'relative'; // C major -> A minor