Re: [directory-upload] easier way to determine if something is a directory? (#24)

I agree that we probably don't need an additional function to tell us if the object is a Directory since we already get that functionality from `instanceof`. I believe that there was some guidance early on that we shouldn't use `instanceof` because of multi-frame DOM concerns which I can't seem to recall now. Perhaps it isn't actually an issue and we can change the example from `filesAndDirs[i].getFilesAndDirectories === 'function'` to `filesAndDirs[i] instanceof Directory`?

---
Reply to this email directly or view it on GitHub:
https://github.com/WICG/directory-upload/issues/24#issuecomment-173401723

Received on Wednesday, 20 January 2016 23:34:39 UTC