14 ms·
tip: In order to flatten those if-statements you can return early, so if you start with if not ios then return - you get rid of one if..else.
by z3t4 3y ago
tip: In order to flatten those if-statements you can return early, so if you start with if not ios then return - you get rid of one if..else.