UNPKG

@ndn/packet

Version:

NDNts: Network Layer Packets

12 lines (11 loc) 460 B
export var NamingConvention; (function (NamingConvention) { /** Determine whether an object implements `NamingConvention` interface. */ function isConvention(obj) { return typeof obj === "object" && typeof obj.match === "function" && typeof obj.create === "function" && typeof obj.parse === "function"; } NamingConvention.isConvention = isConvention; })(NamingConvention || (NamingConvention = {}));