@neo-one/smart-contract-compiler-esnext-esm
Version:
NEO•ONE TypeScript smart contract compiler.
7 lines (5 loc) • 439 B
JavaScript
import { tsUtils } from '@neo-one/ts-utils-esnext-esm';
export const hasUndefined = (context, node, type) => tsUtils.type_.hasType(type, (tpe) => isUndefined(context, node, tpe));
export const isOnlyUndefined = (context, node, type) => tsUtils.type_.isOnlyType(type, (tpe) => isUndefined(context, node, tpe));
export const isUndefined = (_context, _node, type) => tsUtils.type_.isUndefinedish(type);
//# sourceMappingURL=typeTests.js.map