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