IsLink - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


FileTools

  

IsLink

  

determine whether a file is a symbolic link

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

IsLink(file)

Parameters

file

-

filename

Description

• 

The IsLink(file) command returns true if file refers to a symbolic link.  If it is not a symbolic link, false is returned.

• 

If the file does not exist, an exception is raised.

Examples

FileToolsTextWriteFilefile,data

4

(1)

FileToolsIsLinkfile

false

(2)

FileToolsRemovefile

Compatibility

• 

The FileTools[IsLink] command was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

See Also

file_types

FileTools

FileTools[Exists]

FileTools[IsExecutable]

FileTools[IsReadable]

FileTools[IsWritable]

FileTools[ModificationTime]

FileTools[Remove]

FileTools[Size]

FileTools[Status]

FileTools[Text][Close]

FileTools[Text][WriteString]

IO_errors