@welldot/core

getParameterLabel

Display label of a parameter in locale (pt-BR → pt → English): its vocabulary entry's translation (a CAS number resolves through the published equivalences first), else the raw code (x- and unknown codes).

getParameterLabel(parameter, locale): string

Display label of a parameter in locale (pt-BR → pt → English): its vocabulary entry's translation (a CAS number resolves through the published equivalences first), else the raw code (x- and unknown codes).

Parameters

parameter

Parameter

locale

string

Returns

string