First time here? Check out the FAQ!

parameters type encapsulating class

0 votes
Hello hello!

when encapsulating a class, what is the difference between:

- array

- arrayOrNil

- hot array

in the parameters type field?


asked May 27, 2019 in Using Kyma by domenico-cipriani (Adept) (2,910 points)

1 Answer

+1 vote
Best answer

- Array expects a list of values separated by spaces or CRs

- ArrayOrNil is like Array except it can be left blank

- Hot array is like Array except the list of values can be EventValues or EventExpressions (if they are enclosed within curly braces)

answered May 28, 2019 by ssc (Savant) (119,300 points)
selected May 28, 2019 by domenico-cipriani