Module: utils/validators
Functions
validateZIndex
โธ validateZIndex(zIndex
): true
| string
Validates a z index.
Does not check to see if the z index exceeds zLevels
defined in Blaze.
Parameters
Name | Type | Description |
---|---|---|
zIndex | number | The z index to validate |
Returns
true
| string
true when valid or a string containing the reason for being invalid
Defined in
src/utils/validators.ts:9