Function xplr::lua::util::is_dir

source ·
pub fn is_dir<'a>(util: Table<'a>, lua: &Lua) -> Result<Table<'a>>
Expand description

Check if the given path is a directory.

Type: function( path:string ) -> boolean

Example:

xplr.util.is_dir("/foo/bar")
-- true