API ReferencePower Apps Code Apps · /codeappsDocumentManagervalidateFileNameOn this pagevalidateFileName@spartanfx/react v1.2.2 @spartanfx/react / codeapps / validateFileName Function: validateFileName() function validateFileName(name): object; Validate a file/folder name against SharePoint conventions. * Parameters name string Returns object error? optional error?: string; valid valid: boolean;