isPathActive()function
isPathActive(target: AbsolutePath, current: AbsolutePath): boolean
| Param | Type | |
|---|---|---|
target | AbsolutePath | Path whose status to test. required |
current | AbsolutePath | Current path to test against. required |
| Return | |
|---|---|
boolean | true if target is exactly current. |
Is a target path active relative to the current path?
- Active means
targetandcurrentare exactly the same path.
Examples
isPathActive("/a", "/a") // true