Javascript File canRead
From FreeSWITCH Wiki
Contents |
[edit]
Description
Returns a boolean whether we can read this file or not
[edit]
Synopsis
canRead
[edit]
Example
var fd = new File("/tmp/blah");
if (fd.canRead) {
console_log(fd.name) + "can be read\n");
} else {
console_log(fd.name) + "can not be read\n");
}
[edit]
