FileType
Examples
open all close allBasic Examples (2)
Scope (4)
Find the type of the file specified by the File object:
Check that the file type is File:
Create a new directory in the Wolfram Cloud:
Check that the file type is Directory:
CloudObject only creates a reference to a new anonymous cloud object, so its file type is None:
Tech Notes
Related Guides
History
Introduced in 1991 (2.0) | Updated in 2016 (11.0)
Text
Wolfram Research (1991), FileType, Wolfram Language function, https://reference.wolfram.com/language/ref/FileType.html (updated 2016).
CMS
Wolfram Language. 1991. "FileType." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/FileType.html.
APA
Wolfram Language. (1991). FileType. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FileType.html
BibTeX
@misc{reference.wolfram_2025_filetype, author="Wolfram Research", title="{FileType}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/FileType.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_filetype, organization={Wolfram Research}, title={FileType}, year={2016}, url={https://reference.wolfram.com/language/ref/FileType.html}, note=[Accessed: 15-August-2025]}