IsPathFile method

bool IsPathFile(
  1. String path
)

Check if a given path is a file or a directory

Implementation

bool IsPathFile(
  String path,
) => run(
  () => _debugLabels.IsPathFile(path),
  () => _flat.IsPathFile(
    $.String$.ValueOrNull(path),
  ),
);