Skip to content

isGradient beta ​

Function of @v12-engine/editor

ts
export declare function isGradient(value: unknown): value is Gradient;

Whether a value reads as a gradient: a colour, a pair of them, or stops