Documentation
    Preparing search index...

    Function isPajaLocalTarget

    • Return whether a runtime target was opened from a local file.

      Parameters

      • target: object | null | undefined

        Runtime target, or any object carrying a source field.

      Returns target is PajaLocalTarget

      true for PajaLocalTarget values.

      if (isPajaLocalTarget(tab.resolvedTarget)) console.log(tab.resolvedTarget.fileName);