Skip to content

Latest commit

 

History

History
76 lines (39 loc) · 964 Bytes

File metadata and controls

76 lines (39 loc) · 964 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > Path > isEqual

Path.isEqual() method

Returns true if path1 and path2 refer to the same underlying path.

Signature:

static isEqual(path1: string, path2: string): boolean;

Parameters

Parameter

Type

Description

path1

string

path2

string

Returns:

boolean

Remarks

The comparison is performed using path.relative()<></>.