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