4 ms·
I was excited for that. I've worked in languages that had an `is` operator, and it can result in very readable code. Eg: if list is Array { } Much nice
by tyleregeto 12y ago
I was excited for that. I've worked in languages that had an `is` operator, and it can result in very readable code. Eg:
if list is Array {
}
Much nicer than:
if Array.isArray(list) {
}