Function: isStackable()
ts
function isStackable(ref): boolean;Defined in: validate/validate-operations.ts:124
Whether repeating this operation in a chain is meaningful. false means the CDN keeps only the last occurrence.
Parameters
| Parameter | Type |
|---|---|
ref | OperationRef |
Returns
boolean
See
https://uploadcare.com/docs/transformations/image/overlay/
Example
ts
isStackable(overlay) // → true
isStackable(quality) // → false