8 lines
136 B
JavaScript

"use strict";
function isSet(val) {
return (typeof Set !== "undefined" && val instanceof Set) || false;
}
module.exports = isSet;