API Reference > imodeljs-clients > iTwinServiceClients > FileHandler > isDirectory isDirectory Method Check if path is a directory. isDirectory(filePath: string): boolean Parameter Type Description filePath string Path of the file. Returns - boolean True if path is directory. Defined in core/clients/src/FileHandler.ts Line 48 Last Updated: 13 June, 2024