Skip to main content
Version: Next

metricsWithClassId()

function metricsWithClassId<M>(metrics, classId): M[]

Returns metrics with matching sketchId (can be an array of sketchids)

Type Parameters

Type Parameter
M extends object

Parameters

ParameterType
metricsM[]
classIdstring | string[]

Returns

M[]