directoryExists

abstract external val directoryExists: (path: String) -> Boolean?(source)

If provided, used for module resolution as well as to handle directory structure