setup-cpp
Version:
Install all the tools required for building and testing C++/C projects.
13 lines (12 loc) • 466 B
TypeScript
/**
* Check if a package is installed
* @param pack The package to check
* @returns `true` if the package is installed, `false` otherwise
*/
export declare function isAptPackInstalled(pack: string): Promise<boolean>;
/**
* Check if a package matching a regexp is installed
* @param regexp The regexp to check
* @returns `true` if a package is installed, `false` otherwise
*/
export declare function isAptPackRegexInstalled(regexp: string): Promise<boolean>;