Collect the values (tag[1]) of every item tag with the given name.
tag[1]
Item tags (Nip51List.publicItems or Nip51List.privateItems)
Tag name to filter on (e.g. 'p', 'e', 'a', 't', 'word')
'p'
'e'
'a'
't'
'word'
The second element of each matching tag (missing values skipped)
const mutedPubkeys = getTagValues(list.publicItems, 'p');const mutedWords = getTagValues(list.publicItems, 'word'); Copy
const mutedPubkeys = getTagValues(list.publicItems, 'p');const mutedWords = getTagValues(list.publicItems, 'word');
Collect the values (
tag[1]) of every item tag with the given name.