Skip to content

Commit 1bf6a4a

Browse files
authored
Update 556-data-isdir.markdown
1 parent 2f70f3a commit 1bf6a4a

File tree

1 file changed

+6
-2
lines changed

1 file changed

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

3-
> ISDIR (x)
3+
> b = ISDIR (dir)
44
5-
Returns true if x is a directory.
5+
Returns true if the string `dir` is a directory.
66

7+
```
8+
print IsDir("C:\users") ' Output 1 on Windows, otherwise 0
9+
print IsDir("\home") ' Output 1 on Linux, otherwise 0
10+
```
711

0 commit comments

Comments
 (0)