UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

16 lines 516 B
export function formatTaskId(taskId) { if (typeof taskId === "string") { return taskId; } return taskId.join(" "); } export function getActorFragment(pluginId) { return pluginId !== undefined ? `Plugin ${pluginId} is` : "You are"; } export function isOptionalArgumentType(type) { return type.endsWith("_WITHOUT_DEFAULT"); } export function isArgumentRequired(type, defaultValue) { return defaultValue === undefined && !isOptionalArgumentType(type); } //# sourceMappingURL=utils.js.map