• Finds and filters KOS data models of a specific type based on a predicate.

    Type Parameters

    • T extends IKosDataModel

    Parameters

    • modelType: string

      The type of the KOS data models to search for.

    • predicate: {
          [k: string]: any;
      }

      An object representing filter conditions.

      • [k: string]: any

    Returns T[]

    An array of filtered KOS data models.

    Throws

    An error if the model type is not provided.