EMILUA(3em)

πŸ“¦ version 0.12.1, in nixos 26.05, nixpkgs unstable

✨ 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