Interface Modality

interface Modality {
    base(): string;
    hasModality(modality: string): boolean;
    id(): string;
    modality(): string;
    withModality(modality: string): Modality;
}

Implemented by

Methods

  • The base of the Id

    Returns string

  • Check whether the current Id contains the input modality

    Parameters

    • modality: string

    Returns boolean

  • The participant Id

    Returns string

  • The modality of the Id

    Returns string

  • Create a new Id using the base of the current Id and the input modality

    Parameters

    • modality: string

    Returns Modality