Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/lookup-by-path > IGetFirstDifferenceInCommonNodesOptions > equals

IGetFirstDifferenceInCommonNodesOptions.equals 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.

A function to compare the values of the nodes. If not provided, strict equality (===) is used.

Signature:

equals?: (a: TItem, b: TItem) => boolean;