pulumi/tests/testdata/codegen/simplified-invokes/docs/absmultiargsreducedoutput/_index.md

13 KiB


title: "AbsMultiArgsReducedOutput" title_tag: "std.AbsMultiArgsReducedOutput" meta_desc: "Documentation for the std.AbsMultiArgsReducedOutput 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 AbsMultiArgsReducedOutput

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 absMultiArgsReducedOutput(args: AbsMultiArgsReducedOutputArgs, opts?: InvokeOptions): Promise<AbsMultiArgsReducedOutputResult>
function absMultiArgsReducedOutputOutput(args: AbsMultiArgsReducedOutputOutputArgs, opts?: InvokeOptions): Output<AbsMultiArgsReducedOutputResult>
def abs_multi_args_reduced_output(a: Optional[float] = None,
                                  b: Optional[float] = None,
                                  opts: Optional[InvokeOptions] = None) -> AbsMultiArgsReducedOutputResult
def abs_multi_args_reduced_output_output(a: Optional[pulumi.Input[float]] = None,
                                  b: Optional[pulumi.Input[float]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[AbsMultiArgsReducedOutputResult]
func AbsMultiArgsReducedOutput(ctx *Context, args *AbsMultiArgsReducedOutputArgs, opts ...InvokeOption) (*AbsMultiArgsReducedOutputResult, error)
func AbsMultiArgsReducedOutputOutput(ctx *Context, args *AbsMultiArgsReducedOutputOutputArgs, opts ...InvokeOption) AbsMultiArgsReducedOutputResultOutput
public static class AbsMultiArgsReducedOutput 
{
    public static Task<AbsMultiArgsReducedOutputResult> InvokeAsync(AbsMultiArgsReducedOutputArgs args, InvokeOptions? opts = null)
    public static Output<AbsMultiArgsReducedOutputResult> Invoke(AbsMultiArgsReducedOutputInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<AbsMultiArgsReducedOutputResult> absMultiArgsReducedOutput(AbsMultiArgsReducedOutputArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: std:AbsMultiArgsReducedOutput
  arguments:
    # arguments dictionary

The following arguments are supported:

A double
B double
A float64
B float64
a Double
b Double
a number
b number
a float
b float
a Number
b Number

AbsMultiArgsReducedOutput Result

The following output properties are available:

Package Details

Repository
std pulumi/pulumi-std
License