Returns the largest of the floats.
Using max
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function max(args: MaxArgs, opts?: InvokeOptions): Promise<MaxResult>
function maxOutput(args: MaxOutputArgs, opts?: InvokeOptions): Output<MaxResult>def max(input: Optional[Sequence[float]] = None,
opts: Optional[InvokeOptions] = None) -> MaxResult
def max_output(input: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[MaxResult]func Max(ctx *Context, args *MaxArgs, opts ...InvokeOption) (*MaxResult, error)
func MaxOutput(ctx *Context, args *MaxOutputArgs, opts ...InvokeOption) MaxResultOutput> Note: This function is named Max in the Go SDK.
public static class Max
{
public static Task<MaxResult> InvokeAsync(MaxArgs args, InvokeOptions? opts = null)
public static Output<MaxResult> Invoke(MaxInvokeArgs args, InvokeOptions? opts = null)
}fn::invoke:
function: std:max
arguments:
# arguments dictionaryThe following arguments are supported:
- Input List<double>
- Input []float64
- input List<Double>
- input number[]
- input Sequence[float]
- input List<Number>
max Result
The following output properties are available:
- Result double
- Result float64
- result Double
- result number
- result float
- result Number
Package Details
- Repository
- std pulumi/pulumi-std
- License
