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