/** * @name easeInCubic * @namespace shared.easing * @type Function * @platform js * @platform node * @status stable * * Ease in cubic function * * @param {Number} t The current time * @return {Number} The value depending on time * * @snippet __easeInCubic($1) * * @example js * import { __easeInCubic } from '@lotsof/sugar/easing'; * __easeInCubic(0.4); * * @todo tests * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ export default function __easeInCubic(t: number): number { return t * t * t; }