@textile/hub > ThreadID > toString
ThreadID.toString() method
toString returns the (multibase encoded) string representation of an ID.
Signature:
toString(base?: BaseNameOrCode): string;
Parameters
Parameter | Type | Description |
---|---|---|
base | BaseNameOrCode | Name of the base to use for encoding. Defaults to 'base32'. |
Returns:
string