Skip to main content

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

NameTypeDescription
zIndexnumberThe 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