@brimdata/zealot
Version:
The Javascript Client for Zed Lakes
13 lines (12 loc) • 324 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "isNamed", {
enumerable: true,
get: ()=>isNamed
});
const _isTypeAlias = require("./is-type-alias");
function isNamed(type, name) {
return (0, _isTypeAlias.isTypeAlias)(type) && type.name === name;
}