Ensure a value is an array, normalizing null/undefined to an empty array.
This is useful for OCF fields that should be arrays but may come from raw data
where they are null or undefined. The SDK normalizes these to empty arrays
to satisfy DAML contract requirements.
Ensure a value is an array, normalizing null/undefined to an empty array.
This is useful for OCF fields that should be arrays but may come from raw data where they are null or undefined. The SDK normalizes these to empty arrays to satisfy DAML contract requirements.