Skip to main content

Function: getManufacturerAndProduct()

function getManufacturerAndProduct(
manufacturerId: IdLike,
productId?: IdLike | null
): ManufacturerAndProduct;

Defined in: utils/formatting/display/formatAntNames.ts:20

Gets both manufacturer and product names from IDs.

Parameters​

manufacturerId​

IdLike

Manufacturer ID.

productId?​

IdLike | null

Product ID, or null to skip product lookup.

Returns​

ManufacturerAndProduct

Object with manufacturerName and productName.