dirname

abstract var dirname: String(source)

The directory name of the current module. This is the same as the path.dirname() of the import.meta.filename. Caveat: only present on file: modules.