This function should only be called in a Path Handler script.
Checks if the path being handled is being written to.
Syntax
IsWriting()Arguments
No arguments.
Return Values
- (boolean): Whether the path being handled is being written to.
Examples
if IsWriting() then
-- Unsure what you could even do with this.
endVersion History
Version 1.24
Fixed a major issue where Lua functions that are only supposed to work when handling a path (Output, Redirect, GetPath, IsWriting and UseCallbacks) could be called in a UseCallbacks callback but would not work properly. Now they cannot be called in this case.