✅ You are viewing documentation for the latest version of Compose SDK.
Version:

# Function isGradient

isGradient(value): value is GradientColor

Utility type to check if a value is any gradient.

# Parameters

Parameter Type Description
value any The value to check

# Returns

value is GradientColor

True if the value is a gradient