$fileExists
$fileExists
will check if a given file exists.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
path | string | File path. | true |
Example(s)
This will check if a file called index.js
exists in your directory:
$fileExists
will check if a given file exists.
Field | Type | Description | Required |
---|---|---|---|
path | string | File path. | true |
This will check if a file called index.js
exists in your directory: