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

13 KiB


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

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 absMultiArgsReducedOutputSwapped(args: AbsMultiArgsReducedOutputSwappedArgs, opts?: InvokeOptions): Promise<AbsMultiArgsReducedOutputSwappedResult>
function absMultiArgsReducedOutputSwappedOutput(args: AbsMultiArgsReducedOutputSwappedOutputArgs, opts?: InvokeOptions): Output<AbsMultiArgsReducedOutputSwappedResult>
def abs_multi_args_reduced_output_swapped(b: Optional[float] = None,
                                          a: Optional[float] = None,
                                          opts: Optional[InvokeOptions] = None) -> AbsMultiArgsReducedOutputSwappedResult
def abs_multi_args_reduced_output_swapped_output(b: Optional[pulumi.Input[float]] = None,
                                          a: Optional[pulumi.Input[float]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[AbsMultiArgsReducedOutputSwappedResult]
func AbsMultiArgsReducedOutputSwapped(ctx *Context, args *AbsMultiArgsReducedOutputSwappedArgs, opts ...InvokeOption) (*AbsMultiArgsReducedOutputSwappedResult, error)
func AbsMultiArgsReducedOutputSwappedOutput(ctx *Context, args *AbsMultiArgsReducedOutputSwappedOutputArgs, opts ...InvokeOption) AbsMultiArgsReducedOutputSwappedResultOutput
public static class AbsMultiArgsReducedOutputSwapped 
{
    public static Task<AbsMultiArgsReducedOutputSwappedResult> InvokeAsync(AbsMultiArgsReducedOutputSwappedArgs args, InvokeOptions? opts = null)
    public static Output<AbsMultiArgsReducedOutputSwappedResult> Invoke(AbsMultiArgsReducedOutputSwappedInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<AbsMultiArgsReducedOutputSwappedResult> absMultiArgsReducedOutputSwapped(AbsMultiArgsReducedOutputSwappedArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: std:AbsMultiArgsReducedOutputSwapped
  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

AbsMultiArgsReducedOutputSwapped Result

The following output properties are available:

Package Details

Repository
std pulumi/pulumi-std
License