- TIBCO BusinessEvents®
- Standard
- File

# File.fileExists()

## Signature

`boolean fileExists (String path)`

## Domain

ACTION, CONDITION, QUERY

## Description

Tests whether the file or directory denoted by the specified path exists.

## Parameters

Name | Type | Description
--- | --- | ---
`path` | `String` | The target file or directory.

## Returns

Type | Description
--- | ---
`boolean` | Returns true if the specified file/directory exists; otherwise, returns false.

## Cautions

none