Applesauce
Preparing search index...
applesauce-core
Helpers
normalizeToProfilePointer
Function normalizeToProfilePointer
normalizeToProfilePointer
(
str
:
`
nprofile1
${
string
}
`
)
:
ProfilePointer
Parses any nip-19 encoded string into a ProfilePointer. Returns null if the string cannot be parsed.
Parameters
str
:
`
nprofile1
${
string
}
`
Returns
ProfilePointer
normalizeToProfilePointer
(
str
:
`
npub1
${
string
}
`
)
:
ProfilePointer
Parses any nip-19 encoded string into a ProfilePointer. Returns null if the string cannot be parsed.
Parameters
str
:
`
npub1
${
string
}
`
Returns
ProfilePointer
normalizeToProfilePointer
(
str
:
string
)
:
ProfilePointer
|
null
Parses any nip-19 encoded string into a ProfilePointer. Returns null if the string cannot be parsed.
Parameters
str
:
string
Returns
ProfilePointer
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Applesauce
Loading...
Parses any nip-19 encoded string into a ProfilePointer. Returns null if the string cannot be parsed.