Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function love.filesystem.exists(s)
- if type(s) ~= "string" then
- error("Bad argument #1 to function 'love.filesystem.exists': String expected, got " .. type(s))
- end
- return love.filesystem.isFile(s) or love.filesystem.isFolder(s)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement