Hi all. How do I pass the operator "!!" for all ha...
# announcements
r
Hi all. How do I pass the operator "!!" for all hashmap "keys" I need to do something linke this: hasOne = HashMap<String?, String> hashTwo = HashMap<String, String> hashTwo = hashOne
s
this definitely feels like a code smell
what are you actually trying to accomplish here?
r
a helper function that I'm creating. I get a hashmap of the request, which can be null. If it is I do a logic "x", if not, it must return a hashmap <string, string>.
s
the request can be null? or a parameter?
r
parameter
s
are you accepting JSON?
or queryparams?
I’m pretty sure neither can have
null
or some kind of empty value as a key