Home > LIB_Classification > getNameByIndex
LIB_Classification.getNameByIndex() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Warning: This API is now obsolete.
since EDA v3.2; dropped EDA v3.3
Get the name of the classification at the specified index
Signature
typescript
function getNameByIndex(
classificationIndex: ILIB_ClassificationIndex,
): Promise<
| { primaryClassificationName: string; secondaryClassificationName?: string | undefined }
| undefined
>;1
2
3
4
5
6
2
3
4
5
6
Parameters
Parameter | Type | Description |
|---|---|---|
classificationIndex | Classification index |
Returns
Promise<{ primaryClassificationName: string; secondaryClassificationName?: string | undefined } | undefined>
Name of the two-level classification