Shouldn't these say `!is(typeof(...` ? I've never seen this type of construct before.