Repository URL to install this package:
|
Version:
2.7.6 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const exotic_1 = require("exotic");
/**
* @todo missing story for this
*/
function isValidSelect(args) {
const {
value,
label
} = args;
if (!exotic_1.isSafe(value) || value === label) {
return false;
} else {
return true;
}
}
exports.isValidSelect = isValidSelect; //# sourceMappingURL=isValidSelect.js.map