> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# has_proc

### has\_proc

<ul>
  <li>
    has\_proc(\
    &#x20;proc\_name: string,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md),\
    ): Promise\<[HasProcResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/HasProcResponse.md)>

    Checks the existence of a proc with the given name.

    #### Parameters

    <ul>
      <li>
        proc\_name: string

        Name of the proc to check for existence.
      </li>

      <li>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[HasProcResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/HasProcResponse.md)>

    Promise\<Types.HasProcResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:11279](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L11279)</li>
    </ul>
  </li>
</ul>

### has\_proc\_request

<ul>
  <li>
    has\_proc\_request(\
    &#x20;request: [HasProcRequest](https://docs.kinetica.com/content/api/nodejs/interfaces/HasProcRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md),\
    ): Promise\<[HasProcResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/HasProcResponse.md)>

    Checks the existence of a proc with the given name.

    #### Parameters

    <ul>
      <li>
        request: [HasProcRequest](https://docs.kinetica.com/content/api/nodejs/interfaces/HasProcRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[HasProcResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/HasProcResponse.md)>

    Promise\<Types.HasProcResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:11256](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L11256)</li>
    </ul>
  </li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.