Function

is_file

Synopsis

is_file(string): bool

Area
Runtime\PS\Files\is_fileareas

Description

is_file reports whether $filename names an ordinary file, in the source filesystem or on the host; a directory is not one, and neither is a path that does not exist.

Usage

$value = is_file($arguments);
$fn = is_file(...);

See also