Written By

The Apprentice

draft: true

https://forum.obsidian.md/t/obsidian-vault-api-tabstractfile-how-to-tell-if-folder-or-file/30060

! Plugin Dev

  if (entry instanceof TFile) {
    // do something
  } else if (entry instanceof TFolder) {
    // do other thing
  }