is_file
facade/ignition
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Tells whether the filename is a regular file
<?php is_file
(
string $filename
):
bool