Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > ICustomTipInfo > isMatch

ICustomTipInfo.isMatch property

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The function to determine how to match this tipId.

Signature:

isMatch?: (str: string) => boolean;

Remarks

This function might need to be updated if the depending package is updated. For example, if pnpm change the error logs for "ERR_PNPM_NO_MATCHING_VERSION", we will need to update the match function accordingly.