valid-value.js 142 B

123456
  1. 'use strict';
  2. module.exports = function (value) {
  3. if (value == null) throw new TypeError("Cannot use null or undefined");
  4. return value;
  5. };