Reference
isfile
(1)
AME
linux
NAME
isfile - AME
SYNOPSIS
Return
1 if argument is a file, 2 if a directory, else 0
DESCRIPTION
History
Debian 13 (Trixie): the text shown here
Debian 12 (Bookworm)
Debian 11 (Bullseye)
Debian 10 (Buster)
Debian 9 (Stretch)
Debian 8 (Jessie)