mirror of https://github.com/pulumi/pulumi.git
15 KiB
15 KiB
title: "AbsMultiArgs" title_tag: "std.AbsMultiArgs" meta_desc: "Documentation for the std.AbsMultiArgs function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true
Returns the absolute value of a given float. Example: abs(1) returns 1, and abs(-1) would also return 1, whereas abs(-3.14) would return 3.14.
Using AbsMultiArgs
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 absMultiArgs(args: AbsMultiArgsArgs, opts?: InvokeOptions): Promise<AbsMultiArgsResult>
function absMultiArgsOutput(args: AbsMultiArgsOutputArgs, opts?: InvokeOptions): Output<AbsMultiArgsResult>
def abs_multi_args(a: Optional[float] = None,
b: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> AbsMultiArgsResult
def abs_multi_args_output(a: Optional[pulumi.Input[float]] = None,
b: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[AbsMultiArgsResult]
func AbsMultiArgs(ctx *Context, args *AbsMultiArgsArgs, opts ...InvokeOption) (*AbsMultiArgsResult, error)
func AbsMultiArgsOutput(ctx *Context, args *AbsMultiArgsOutputArgs, opts ...InvokeOption) AbsMultiArgsResultOutput
public static class AbsMultiArgs
{
public static Task<AbsMultiArgsResult> InvokeAsync(AbsMultiArgsArgs args, InvokeOptions? opts = null)
public static Output<AbsMultiArgsResult> Invoke(AbsMultiArgsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<AbsMultiArgsResult> absMultiArgs(AbsMultiArgsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: std:AbsMultiArgs
arguments:
# arguments dictionary
The following arguments are supported:
AbsMultiArgs 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