brash-hairdresser-6038901/19/2023, 9:20 AM
, this output is a JSON string I have to split in 3 fields. I tried to use a single
function from this output and there take the 3 values and assign to external variables but it doesn’t work clearly. I don’t want to call the same
and the internal
3 times to have the fields I need, can you suggest a better way to accomplish that from an Output?
echoing-dinner-1953101/19/2023, 11:22 AM
x = str.apply(str => /* parse and split */) // x is now an Output<[str, str, str]> a = x.apply(x => x) b = x.apply(x => x) c = x.apply(x => x)