• Preparing search index...
  • The search index is not available
webchalk-animate - v0.29.0
  • webchalk-animate
  • 4_utils/helpers
  • call

Function call

  • call<TFunction>(callableFunction, thisArg, ...args): ReturnType<TFunction>
  • Functional, type-safe version of Function.prototype.call.

    Type Parameters

    • TFunction extends ((__namedParameters: unknown[]) => unknown)

    Parameters

    • callableFunction: TFunction

      function whose call method we want to invoke

    • thisArg: unknown

      value to use for the thisArg parameter for callableFunction.call()

    • Rest...args: Parameters<TFunction>

      arguments to pass to the args parameter for callableFunction.call()

    Returns ReturnType<TFunction>

    The result of callableFunction.call(thisArg, ...args).

    • Defined in src/4_utils/helpers.ts:225

Settings

Member Visibility
webchalk-animate - v0.29.0
  • Loading...

Generated using TypeDoc