(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

Other Languages