@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
7 lines • 358 B
TypeScript
/**
* Returns true if `id` can be resolved (and optionally loaded) from this package.
* With `resolveOnly`, only the module path is resolved — the module body is not executed.
* Mirrors the HH2 plugin's helper of the same name.
*/
export declare function tryRequire(id: string, resolveOnly?: boolean): boolean;
//# sourceMappingURL=try-require.d.ts.map