diff options
-rw-r--r-- | doc/api/path.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/path.markdown b/doc/api/path.markdown index 9447066965..e37f4a7e1a 100644 --- a/doc/api/path.markdown +++ b/doc/api/path.markdown @@ -142,7 +142,7 @@ an empty string. Examples: // returns '' -### path.exists(p, [callback]) +## path.exists(p, [callback]) Test whether or not the given path exists by checking with the file system. Then call the `callback` argument with either true or false. Example: @@ -152,6 +152,6 @@ Then call the `callback` argument with either true or false. Example: }); -### path.existsSync(p) +## path.existsSync(p) Synchronous version of `path.exists`. |