Skip to Content
APIUtilsFunction: isBasicWithLogo()

Function: isBasicWithLogo()

function isBasicWithLogo(category): category is BasicWithLogo

Checks if the category carries a logo image.

Parameters

category

BasicCategory

The category to inspect.

Returns

category is BasicWithLogo

true if the category exposes a non-empty logo URL, narrowing it to BasicWithLogo.

Last updated on