Skip to main content
Version: v1.0.0(int)

W074: Check if material type is in use

Returns whether any material references the given type. Used by the UI before exposing the delete action (W073).

Steps​

  1. Check usage. Call Materials.isMaterialTypeInUse.

Returns​

{ inUse: boolean, materialCount: number }.

Business rules​

None.

Errors​

None.