• Performs a lookup for standard Svelte easing functions by name. For convenience if passing in a function it is returned verbatim.

    Parameters

    • easingRef: EasingReference

      The name of a standard Svelte easing function or a supplied easing function.

    • Optionaloptions: {
          default?: false | EasingFunctionName;
      }

      Optional parameters.

      • Optionaldefault?: false | EasingFunctionName

        A default easing function by name to return. When specified as false no default fallback easing function is selected. The default value is linear.

    Returns EasingFunction

    The requested easing function.