isNull.js 136 B

12345678910
  1. define(function () {
  2. // Is a given value equal to null?
  3. function isNull(obj) {
  4. return obj === null;
  5. }
  6. return isNull;
  7. });