Improved Approach for Finding and Mapping Values in TypeScript - Effect Community