Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
use Ada.Directories;
B : constant Boolean :=
Exists (Path) and then Kind (Path) = Directory;
$b = is_dir($path);
b = Dir.exist?( path )