Version: NextOn this pagemetricsWithClassId() function metricsWithClassId<M>(metrics, classId): M[] Returns metrics with matching sketchId (can be an array of sketchids) Type Parameters Type ParameterM extends object Parameters ParameterTypemetricsM[]classIdstring | string[] Returns M[]