Skip to content

Documentation / @ripl/core / interpolateGradient / test

Function: test()

test(value): boolean

Defined in: packages/core/src/interpolators/gradient.ts:142

Reports whether this factory can interpolate the given value (a CSS gradient string).

Parameters

ParameterType
valueunknown

Returns

boolean