Optimizing Ternary Logic in TypeScript Effect Handling - Effect Community