JavaScript APIuiNamespacesinputFunctionsfileOn this pagefile() file(name, options?): InputBase <FileInfo | null> Parameters ParameterTypenamestringoptions?IInputInitOptions <FileInfo> Returns InputBase <FileInfo | null> Source ui.ts:907