UNPKG

@polkadot/types

Version:
5 lines (4 loc) 136 B
export function getSiName(lookup, type) { const typeDef = lookup.getTypeDef(type); return typeDef.lookupName || typeDef.type; }