Close
Close window
IsDirectory - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

FileTools

IsDirectory

determine if a file is a directory

Calling Sequence

IsDirectory(file)

Parameters

file

-

filename or the file descriptor of an open file

Description

The IsDirectory(file) command returns true if file refers to a directory. If it is not a directory, false is returned.

If the file does not exist or an invalid file descriptor is passed, an exception is raised.

Examples

>

FileToolsTextWriteFilefile,data

4

(1)
>

FileToolsIsDirectoryfile

false

(2)
>

FileToolsRemovefile


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /