Skip to content

$file.isFile

Description

Indique si le fichier est un fichier (et non un répertoire).

Cette méthode est un raccourci pour $file.getAttribute(path).isFile.

Syntaxe

$file.isFile( path )

Paramètres

path file / string
Path à analyser.

Retour

Retourne true si le path désigne un fichier, sinon false

Exemple

Non disponible