Available on lua
A enumerator that describes the output of Io.type().
Io.type()
@:tostatictoString(this:String):String
@:value(cast "closed file")@:impl@:enuminlineread onlyClosedFile:IoType = "closed file"
@:value(cast "file")@:impl@:enuminlineread onlyFile:IoType = "file"
@:value(cast null)@:impl@:enuminlineread onlyNotAFile:IoType = null