Skip to content

Function: easeInOutQuad() ​

ts
function easeInOutQuad(t): number;

Ease-in-out using a quadratic curve — slow start and end.

Parameters ​

ParameterType
tnumber

Returns ​

number

Example ​

ts
easeInOutQuad(0.5) // => 0.5

Since ​

1.0.0

Released under the MIT License.