(File):getMode

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets the FileMode the file has been opened with.

Function

Synopsis

mode = File:getMode( )

Arguments

None.

Returns

FileMode mode
The mode this file has been opened with.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/(File):getMode