2 ms·
Yeah -- a dynamic language could provide an assertinstance() operation, which throws an error if the types don't match, without going all the way to a boolean i
by panic 9y ago
Yeah -- a dynamic language could provide an assertinstance() operation, which throws an error if the types don't match, without going all the way to a boolean isinstance() check.