![]() |
|
Navigation |
Synopsis Check whether a given location exists.
Function
bool exists(loc file)
Usage
import IO;
Description Check whether a certain location exists, i.e., whether an actual file is associated with it.
Examples
rascal>import IO;
ok
Does the library file IO.rsc exist?
rascal>exists(|std:///IO.rsc|);
bool: true
![]() |