I am trying to understand how the API reference is meant to be used.
For example I want to see how to set up a trust line for an account using the changeTrust() operation.
I went to the API reference here: https://stellar.github.io/js-stellar-sdk/Operation.html#.changeTrust
But I can't understand how to use this. There's no examples of the changeTrust() function called or source code implementations.
I am not sure how to use the reference and documentation and would appreciate any help if somebody could break down how things like this: should be interpreted.
Thanks for any help.