Skip to main content

CommonCallFunctionByNameWarn

Callable

  • CommonCallFunctionByNameWarn(FunctionName: string, ...args: any): any

  • Behaves exactly like CommonCallFunctionByName, but logs a warning if the function name is invalid.


    Parameters

    • FunctionName: string

      The name of the global function to call

    • rest...args: any

      zero or more arguments to be passed to the function (optional)

    Returns any

    • returns the result of the function call, or undefined if the function name isn't valid