API ReferencePower Apps Code Apps · /codeappsDocumentManagervalidateFileNameVersion: 1.1.0On this pagevalidateFileName@spartanfx/react v1.1.0 @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;