4 ms·
To be fair in a weakly/duck typed languages a string can be an object of any type. The fair question to ask would : do those type quack and walk like a string.
by soulbadguy 3y ago
To be fair in a weakly/duck typed languages a string can be an object of any type. The fair question to ask would : do those type quack and walk like a string.
- maximus-decimus 3y agoThey don't, it was returning settings from a json file and so was returning booleans, ints and floats.