Extracts the Data of the given List
const list = [{"id":1, "data":"a"},{"id":2, "data":"b"}]const res = extractListElement(list, "data") // => ["a","b"]
List only containing the Elements.
List, where data should be extracted
path pointing to the Data in the List
Generated using TypeDoc
Extracts the Data of the given List
Example:
Export
Returns
List only containing the Elements.