cubicBezierInterpolator

fun cubicBezierInterpolator(    x1: Expression,     y1: Expression,     x2: Expression,     y2: Expression,     input: Expression,     vararg stops: Pair<Expression, Expression>): Expression

Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). The input may be any numeric expression (e.g., ["get", "population"]). Stop inputs must be numeric literals in strictly ascending order. The output type must be number, array<number>, or color.

cubicBezierInterpolator interpolates using the cubic bezier curve defined by the given control points.