File Exists
Returns `true` when `path` currently resolves to an existing file. This block performs a filesystem read check and therefore depends on filesystem permissions. If the path does not exist, or resolves to a folder instead of a file, the result is `false`.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
path | yes | expression | string | — |
Notes
- Filesystem read expression that returns
truewhen the given path resolves to a file. - Returns
falsefor missing paths and for folders.
Examples
Flush Buffered File Write With Sleep
Writes a text file into the runtime buffer, then uses sleep as a zero-delay sync point to flush buffered file writes before continuing.
Topics: files, synchronization
Source: patterns/ex-files-flush-buffered-write-with-sleep.json
Render Active-Sequence Frames At Equal Distances To Fixed Folder
Exports a small evenly spaced set of `.png` frames across the active sequence to a fixed folder path, so visual timeline sampling can be runtime-validated deterministically.
Topics: frame export, visual probing, timeline sampling, runtime validation
Source: patterns/ex-sequence-render-active-sequence-frames-equal-distances-fixed-folder.json
Render Frames At Sequence Markers To Fixed Folder
Exports one `.png` frame per active-sequence marker to a fixed folder path, so marker-driven still export can be runtime-validated deterministically.
Topics: markers, frame export, review stills, runtime validation
Source: patterns/ex-markers-render-active-sequence-frames-fixed-folder.json