-
Notifications
You must be signed in to change notification settings - Fork 111
check_if_file_exists
wpferguson edited this page Jun 14, 2020
·
1 revision
check_if_file_exists
check if a file or path exist
local df = require "lib/dtutils.file"
local result = df.check_if_file_exists(filepath)
filepath - string - a file or path to check
check_if_file_exists checks to see if a file or path exists.
result - boolean - true if the file or path exists, false if it doesn't.