Determines if the input string ends with the suffix.
Using endswith
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 endswith(args: EndswithArgs, opts?: InvokeOptions): Promise<EndswithResult>
function endswithOutput(args: EndswithOutputArgs, opts?: InvokeOptions): Output<EndswithResult>def endswith(input: Optional[str] = None,
suffix: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> EndswithResult
def endswith_output(input: Optional[pulumi.Input[str]] = None,
suffix: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[EndswithResult]func Endswith(ctx *Context, args *EndswithArgs, opts ...InvokeOption) (*EndswithResult, error)
func EndswithOutput(ctx *Context, args *EndswithOutputArgs, opts ...InvokeOption) EndswithResultOutput> Note: This function is named Endswith in the Go SDK.
public static class Endswith
{
public static Task<EndswithResult> InvokeAsync(EndswithArgs args, InvokeOptions? opts = null)
public static Output<EndswithResult> Invoke(EndswithInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<EndswithResult> endswith(EndswithArgs args, InvokeOptions options)
public static Output<EndswithResult> endswith(EndswithArgs args, InvokeOptions options)
fn::invoke:
function: std:endswith
arguments:
# arguments dictionaryThe following arguments are supported:
endswith Result
The following output properties are available:
- Result bool
- Result bool
- result Boolean
- result boolean
- result bool
- result Boolean
Package Details
- Repository
- std pulumi/pulumi-std
- License
