• Asynchronously retrieves the type of a KOS data model.

    Parameters

    • modelId: string

      The ID of the KOS data model.

    Returns Promise<undefined | string>

    The type of the KOS data model.

    Async

    Throws

    An error if the model ID is not provided or the model cannot be found.