mirror of https://github.com/pulumi/pulumi.git
12 KiB
12 KiB
title: "AbsReducedOutput" title_tag: "std.AbsReducedOutput" meta_desc: "Documentation for the std.AbsReducedOutput 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 AbsReducedOutput
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 absReducedOutput(args: AbsReducedOutputArgs, opts?: InvokeOptions): Promise<AbsReducedOutputResult>
function absReducedOutputOutput(args: AbsReducedOutputOutputArgs, opts?: InvokeOptions): Output<AbsReducedOutputResult>
def abs_reduced_output(a: Optional[float] = None,
b: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> AbsReducedOutputResult
def abs_reduced_output_output(a: Optional[pulumi.Input[float]] = None,
b: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[AbsReducedOutputResult]
func AbsReducedOutput(ctx *Context, args *AbsReducedOutputArgs, opts ...InvokeOption) (*AbsReducedOutputResult, error)
func AbsReducedOutputOutput(ctx *Context, args *AbsReducedOutputOutputArgs, opts ...InvokeOption) AbsReducedOutputResultOutput
public static class AbsReducedOutput
{
public static Task<AbsReducedOutputResult> InvokeAsync(AbsReducedOutputArgs args, InvokeOptions? opts = null)
public static Output<AbsReducedOutputResult> Invoke(AbsReducedOutputInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<AbsReducedOutputResult> absReducedOutput(AbsReducedOutputArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: std:AbsReducedOutput
arguments:
# arguments dictionary
The following arguments are supported:
AbsReducedOutput Result
The following output properties are available:
Package Details
- Repository
- std pulumi/pulumi-std
- License