Skip to main content Skip to complementary content
Close announcements banner

resolveChoice

Returns the alternative index (starting at 0) of the argument's type in a choice.

Information noteNote: This feature is only available in Talend Data Mapper.

The argument must be a hierarchical path. The function returns -1 if the argument is not a path, if the path does not point to a choice context or if the value does not correspond to one of the alternatives.

Arguments

Element to check.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!