Question About Array Behavior in RpcSerialization.ts

Is this intended behaviour that the Array is always empty if decoded is an Array?
https://github.com/Effect-TS/effect/blob/main/packages/rpc/src/RpcSerialization.ts#L171

Seems to be in conflict with the logic here https://github.com/Effect-TS/effect/blob/main/packages/rpc/src/RpcSerialization.ts#L181
Was this page helpful?