Files
wren/test/io/stat/is_directory.wren
T

5 lines
160 B
Plaintext
Raw Normal View History

2016-02-21 12:23:33 -08:00
import "io" for Stat
System.print(Stat.path("test/io/file/file.txt").isDirectory) // expect: false
System.print(Stat.path("test").isDirectory) // expect: true