AppleSauce
Preparing search index...
applesauce-factory
Helpers
getContentPointers
Function getContentPointers
getContentPointers
(
content
:
string
,
)
:
(
|
{
data
:
EventPointer
;
type
:
"nevent"
}
|
{
data
:
ProfilePointer
;
type
:
"nprofile"
}
|
{
data
:
AddressPointer
;
type
:
"naddr"
}
|
{
data
:
string
;
type
:
"npub"
}
|
{
data
:
Uint8Array
;
type
:
"nsec"
}
|
{
data
:
string
;
type
:
"note"
}
)
[]
Returns all NIP-19 pointers in a content string
Parameters
content
:
string
Returns (
|
{
data
:
EventPointer
;
type
:
"nevent"
}
|
{
data
:
ProfilePointer
;
type
:
"nprofile"
}
|
{
data
:
AddressPointer
;
type
:
"naddr"
}
|
{
data
:
string
;
type
:
"npub"
}
|
{
data
:
Uint8Array
;
type
:
"nsec"
}
|
{
data
:
string
;
type
:
"note"
}
)
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
AppleSauce
Loading...
Returns all NIP-19 pointers in a content string