ulfsri/pyAlicat

Test to number conversions efficieny

Closed this issue ยท 2 comments

๐Ÿš€ Feature Request

If believe this can be used in-place of some code. Test and make sure
enable = "1" if enable.upper() in ["Y", "YES"] else "0" if enable.upper() in ["N", "NO"] else enable

๐Ÿ”ˆ Motivation

More efficient code

๐Ÿ›ฐ Alternatives

๐Ÿ“Ž Additional context

image

This works, I will implement where I can find it

Seems to be all implemented or replaced with boolean version