[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/workflows/docs/reference/stdlib/expression-helpers#type_functions [Back]  [Original]

Expression helpers  |  Workflows  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

Expression helpers Stay organized with collections Save and categorize content based on your preferences.

In addition to the standard library modules, Workflows supports a number of other built-in helper functions such as for data type and format conversions.

For examples, see the Syntax cheat sheet.

Conversion functions

Convert values from one data type to another.

Functions
double() Accepts an attribute of type string or integer and returns a double.
int() Accepts an attribute of type string or double and returns an integer.
string() Accepts an attribute of type integer, double, or boolean and returns a string.

Data type functions

Operate on lists, maps, and strings.

Functions
in() Checks whether a given key is present in a list or map. See Check existence of a key in a list or Check existence of a key in a map.
Web Proxy Viewer  |  New URL  |  Original Page