elections-cpl.api.hscc.bdpa.org • Docs
elections-cpl.api.hscc.bdpa.org / lib/mongo-item / itemToStringId
itemToStringId<
T
>(item
):string
Reduces an item
down to the string representation of its ObjectId
instance.
• T extends ObjectId
• item: IdItem
<T
>
string
itemToStringId<
T
>(items
):string
[]
Reduces an array of items
down to the string representations of their
respective ObjectId
instances.
• T extends ObjectId
• items: IdItemArray
<T
>
string
[]