4 ms·
As others have mentioned, you can’t get rid of null, because of third-party libraries for one. Instead your code should treat them the same at comparison time:
by slewis 6y ago
As others have mentioned, you can’t get rid of null, because of third-party libraries for one. Instead your code should treat them the same at comparison time: ‘== null’ is the canonical way to check for either.