Getting the Head of a Non-Empty Array in Effect Typescript - Effect Community