Library API
    Preparing search index...

    Function getScript

    • Analyzes the Call Stack to determine the calling script's URI.

      Parameters

      • nbr: number = 1

        The stack depth to inspect (default: 1)

      Returns string

      The URI of the calling script

      const scriptUrl = getScript();