Function: isCoreOperation()
ts
function isCoreOperation(ref): boolean;Defined in: validate/validate-operations.ts:109
Whether an operation is a core (image-processing) one.
Parameters
| Parameter | Type |
|---|---|
ref | OperationRef |
Returns
boolean
See
https://uploadcare.com/docs/transformations/image/
Example
ts
isCoreOperation(resize) // → true
isCoreOperation('blur') // → false