• Generates a provider function.

    Parameters

    • code: string

      The code to be executed by the provider.

    • Optionalargs: string[]

      The arguments for the provider (optional).

    Returns string

    The provider function as a string.