Skip to content

Commit c2d6a30

Browse files
authored
Update 557-data-isfile.markdown
1 parent 1bf6a4a commit c2d6a30

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# ISFILE
22

3-
> ISFILE (x)
3+
> b = ISFILE (file)
44
5-
Returns true if x is a regular file.
5+
Returns true if the string "f" is a regular file.
66

7+
### Example
78

9+
```
10+
print IsFile("C:\windows\EXPLORER.EXE") ' Output 1 on Windows, otherwise 0
11+
print IsFile("/etc/passwd") ' Output 1 on Linux, otherwise 0
12+
```

0 commit comments

Comments
 (0)