3 ms·
You can check instanceof of course, but the idea behind doing this is that object literals and raw data from JSON/whatever can be treated as a first class entit
by jakear 5y ago
You can check instanceof of course, but the idea behind doing this is that object literals and raw data from JSON/whatever can be treated as a first class entity, rather than mucking around with all the boilerplate dataclass junk a lot of languages get tangled up in.