// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

import * as pulumi from "@pulumi/pulumi";
import * as utilities from "./utilities";

/**
 * Check codegen of functions with a List parameter.
 */
export function funcWithListParam(args?: FuncWithListParamArgs, opts?: pulumi.InvokeOptions): Promise<FuncWithListParamResult> {
    args = args || {};
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("mypkg::funcWithListParam", {
        "a": args.a,
        "b": args.b,
    }, opts);
}

export interface FuncWithListParamArgs {
    a?: string[];
    b?: string;
}

export interface FuncWithListParamResult {
    readonly r: string;
}
