Method | Description |
---|---|
getAddress() | Gets the Postbox's address |
setAddress([address]) | Sets the Postbox's address |
getAddress()
Gets the Postbox's address.
Returns
string
With the address currently in use.
setAddress([address])
Sets the Postbox's address to the given variable.
If the address arg is nil, it'll unset the address.
Parameters
- address?:
string = nil
Will receive packages addressed toaddress
. Unsets if address isnil
.