createFolderInput()?

p5.js has a function called createFileInput(), is there a way to do a similar thing with folders?