export const isDirectory: Filter<string> = async (
  path: string,
): Promise<boolean> => isSafeStat(path, isDirectoryStatChecker);