A range of numbers that is used to calculate the damage
chance for an item. The damage chance will fall within this
range.
This function can't be called in read-only mode.
Throws
This function can throw errors.
isValid
isValid():boolean
Beta
Returns boolean
Whether the component is valid.
Remarks
Returns whether the component is valid. A component is
considered valid if its owner is valid, in addition to any
addition to any additional validation required by the
component.
When present on an item, this item can take damage in the process of being used. Note that this component only applies to data-driven items.
Example: getItemDurability.js