Prompt Refactor

Simplify This Code

Reduce complexity — fewer lines, clearer logic, same result.

Insert label Simplify
Prompt

Simplify this code. Reduce the number of lines, flatten nested conditions, remove unnecessary variables, and make the logic easier to follow at a glance. Keep the exact same behavior. Less is more.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl