Search
Preparing search index...
The search index is not available
@dfinity/principal
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@dfinity/principal
Principal
Class Principal
Hierarchy
Principal
Index
Constructors
constructor
Properties
_is
Principal
Methods
is
Anonymous
to
Hex
to
String
to
Text
to
Uint8
Array
anonymous
from
from
Hex
from
Text
from
Uint8
Array
self
Authenticating
Constructors
Protected
constructor
new
Principal
(
_arr
:
Uint8Array
)
:
Principal
Parameters
_arr:
Uint8Array
Returns
Principal
Properties
Readonly
_is
Principal
_is
Principal
:
true
= true
Methods
is
Anonymous
is
Anonymous
(
)
:
boolean
Returns
boolean
to
Hex
to
Hex
(
)
:
string
Returns
string
to
String
to
String
(
)
:
string
Returns
string
to
Text
to
Text
(
)
:
string
Returns
string
to
Uint8
Array
to
Uint8
Array
(
)
:
Uint8Array
Returns
Uint8Array
Static
anonymous
anonymous
(
)
:
Principal
Returns
Principal
Static
from
from
(
other
:
unknown
)
:
Principal
Parameters
other:
unknown
Returns
Principal
Static
from
Hex
from
Hex
(
hex
:
string
)
:
Principal
Parameters
hex:
string
Returns
Principal
Static
from
Text
from
Text
(
text
:
string
)
:
Principal
Parameters
text:
string
Returns
Principal
Static
from
Uint8
Array
from
Uint8
Array
(
arr
:
Uint8Array
)
:
Principal
Parameters
arr:
Uint8Array
Returns
Principal
Static
self
Authenticating
self
Authenticating
(
publicKey
:
Uint8Array
)
:
Principal
Parameters
publicKey:
Uint8Array
Returns
Principal
Exports
Principal
constructor
_is
Principal
is
Anonymous
to
Hex
to
String
to
Text
to
Uint8
Array
anonymous
from
from
Hex
from
Text
from
Uint8
Array
self
Authenticating
Generated using
TypeDoc