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