filesystem.is_regular_file

Synopsis

local fs = require "filesystem"
fs.is_regular_file(p: fs.path) -> boolean

Description

Checks whether the given path refers to a regular file.