pdk.flow.Any

Contains functions that can be applied to arguments of any type

All functions


initialize

It is used to initialize variables with default values. In some cases, users need the ability to manually control the initial state of local variables. Use this function to avoid NullPointerExceptions.

Arguments:

Result:

  • No variable is returned. The argument is initialized with the default value. If the argument is an object, its properties will remain null.

Possible exceptions


initializeDeep

Similar as Initialize function this function is used to initialize variables with default values. In some cases, users need the ability to manually control the initial state of local variables. Use this function to avoid NullPointerExceptions.

The main difference with the Initialize function is in the initialization of variables with types extended from pdk.core.Object. Unlike the Initialize function, the initializeDeep function initializes properties with types extended from pdk.core.Object as well.

Arguments:

Result:

  • No variable is returned. The argument is initialized with the default value.

Possible exceptions

Last updated