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 in Using Kyma by domenico-cipriani (Adept) (2,120 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 by ssc (Savant) (93,320 points)
selected May 28 by domenico-cipriani