Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add getPublishedOutput method in docmap-parser [elifesciences/enhance…
…d-preprints-issues#1120] This commit introduces a new function, getPublishedOutput, in docmap-parser. This function checks the length of preprintOutputs and versionOfRecordOutputs and returns the first item if there's one, otherwise it returns false. The existing function getPublishedVersionOfRecord has been updated to use the newly implemented getPublishedOutput function.
- Loading branch information