DirectoryExists method

bool DirectoryExists(
  1. String dirPath
)

Check if a directory path exists

Implementation

bool DirectoryExists(
  String dirPath,
) => run(
  () => _debugLabels.DirectoryExists(dirPath),
  () => _flat.DirectoryExists(
    $.String$.ValueOrNull(dirPath),
  ),
);