openFileOrFolder | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function openFileOrFolder

    Open a file or folder - used when you're unsure what an ID points to

    • Parameters

      • path: string | number
      • options: OpenWHFSObjectOptions & { allowMissing: true }

      Returns Promise<null | WHFSFile | WHFSFolder>

    • Parameters

      • path: string | number
      • Optionaloptions: OpenWHFSObjectOptions

      Returns Promise<WHFSFile | WHFSFolder>