#User input help

13 messages · Page 1 of 1 (latest)

hushed falconBOT
#

This post has been reserved for your question.

Hey @hybrid hemlock! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

honest halo
#

well, call it?

#

then you can use String.contains

#

you wouldn't use toString for that

#

loop through whatever structure you have to check if any element has !checkStorage (which is kind of a horrible name and doesn't need to be an if)

#

you can just use a ternary and reuse the rest of the construction

#

and formatting could help make it more readable

#

we all start somewhere ¯_(ツ)_/¯

#

you'll get better with experience

#

no, you wouldn't use string comparison for this

#

you have a property that holds a much cleaner representation of that