]> gerrit.simantics Code Review - simantics/district.git/blob - valid-value.js
36c8ec31e847317d0148e90c93b40fbfd61f07e8
[simantics/district.git] / valid-value.js
1 'use strict';
2
3 module.exports = function (value) {
4         if (value == null) throw new TypeError("Cannot use null or undefined");
5         return value;
6 };