getSubCategoryOverride Method

Obtain the overrides applied to a SubCategoryAppearance by this style.

getSubCategoryOverride(id: string): undefined | SubCategoryOverride

see DisplayStyleState.overrideSubCategory

Parameter Type Description
id string The ID of the SubCategory.

Returns - undefined | SubCategoryOverride

The corresponding SubCategoryOverride, or undefined if the SubCategory's appearance is not overridden.

Defined in

Last Updated: 11 June, 2024