UnitUtils.IsUnit
Method
Description:
Checks whether a ForgeTypeId identifies a unit.
Checks whether a ForgeTypeId identifies a unit.
Remarks:
The UnitTypeId class offers unit identifiers.
The UnitTypeId class offers unit identifiers.
Parameters
Parameter | Type | Description |
---|---|---|
unitTypeId | ForgeTypeId | The identifier to check. |
Return Value
Type | Description |
---|---|
Boolean | True if the ForgeTypeId identifies a unit, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |