You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow symbolic links to match if they point to the chosen path type.
109
107
108
+
### findUp.exists(path)
109
+
110
+
Returns a `Promise<boolean>` of whether the path exists.
111
+
112
+
### findUp.sync.exists(path)
113
+
114
+
Returns a `boolean` of whether the path exists.
115
+
116
+
#### path
117
+
118
+
Type: `string`
119
+
120
+
Path to a file or directory.
121
+
110
122
### findUp.stop
111
123
112
124
A [`Symbol`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) that can be returned by a `matcher` function to stop the search and cause `findUp` to immediately return `undefined`. Useful as a performance optimization in case the current working directory is deeply nested in the filesystem.
0 commit comments