FileExists method

bool FileExists(
  1. String fileName
)

Check if file exists

Implementation

bool FileExists(
  String fileName,
) => run(
  () => _debugLabels.FileExists(fileName),
  () => _flat.FileExists(
    String$.ValueOrNull(fileName),
  ),
);