Packages@isp.nexus/sdkFunctionsassertIsDirectoryOn this pageassertIsDirectory() function assertIsDirectory(directoryPath, stats): void Asserts that the given path is a directory. Parameters ParameterTypedirectoryPathPathBuilderLikestatsStats Returns void Throws If the path is not a directory.