Cotal TypeScript packages
    Preparing search index...

    Function processIsCommand

    • True when proc was invoked as command, compared by BASENAME: herdr reports either a bare name (node) or an absolute path depending on platform and field, while the caller passes an absolute interpreter path (process.execPath). A literal comparison matches neither reliably.

      Parameters

      • proc: unknown
      • command: string

      Returns boolean