EMILUA(3em)
β¨ EMILUA β¨
okay so real quick β you're looking at the EMILUA manual page, section 3em, and the whole vibe here is that Emilua is a Lua execution engine π
. That's the name, that's the game. Now let's get into the one function this page is being so mysterious about π
πΈ SYNOPSIS πΈ
local fs = require "filesystem"
fs.is_directory(p: fs.path) -> boolean
so first you gotta pull in the filesystem module with require "filesystem" β no cap, that's step one π«Ά β and then you call fs.is_directory on a path (that's the p, typed as fs.path) and it hands you back a boolean. cute and simple, iykyk β¨
π¦ DESCRIPTION π¦
this is the part where it does exactly what it says on the tin, and honestly? iconic behavior π
what it does: it checks whether the given path refers to a directory π
that's it. that's the whole thing. you give it a path, it checks if that path is a directory, and it tells you yes or no in boolean form. lowkey the most useful little vibe check you can run on a path, fr fr π
ngl bestie, the manual doesn't say anything else about it β no extra options, no tricks, no secret lore. it checks. it returns a boolean. periodt π
π okay that's the whole page, you're all caught up β¨ this was Emilua version 0.12.1-nixpkgs1, dated 1980-01-01 (yes, literally 1980, we love a vintage timestamp π), and that's the tea ππ
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms