### Table of Contents - [ID][1] - [FunctionRef][2] - [copy][3] - [ModuleRef][4] - [getFuncRef][5] - [Message][6] - [getType][7] ## [index.js:5-10][8] a cbor decoder for the objects Type: [Object][9] ## ID [index.js:37-52][10] an ID **Parameters** - `id` ## FunctionRef [index.js:57-92][11] A function reference **Parameters** - `opts` **[Object][9]** ### copy [index.js:84-91][12] Creates a copy of the funcRef Returns **[FunctionRef][13]** ## ModuleRef [index.js:97-125][14] A module reference **Parameters** - `exports` **[Object][9]** a map of exported function to params for the funcion if any - `id` **[ID][15]** the id of the actor ### getFuncRef [index.js:112-120][16] return a function refernce given the name of the function **Parameters** - `name` **[string][17]** Returns **[FunctionRef][13]** ## Message [index.js:130-162][18] **Extends EventEmitter** This implements Messages for Primea **Parameters** - `opts` **[Object][9]** ## getType [index.js:169-188][19] returns the type that the object is **Parameters** - `obj` **any** Returns **[String][17]** [1]: #id [2]: #functionref [3]: #copy [4]: #moduleref [5]: #getfuncref [6]: #message [7]: #gettype [8]: https://github.com/primea/js-primea-objects/blob/19ce496560f9ea1fb3b35eefab4afbe9b8d581eb/index.js#L5-L10 "Source code on GitHub" [9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object [10]: https://github.com/primea/js-primea-objects/blob/19ce496560f9ea1fb3b35eefab4afbe9b8d581eb/index.js#L37-L52 "Source code on GitHub" [11]: https://github.com/primea/js-primea-objects/blob/19ce496560f9ea1fb3b35eefab4afbe9b8d581eb/index.js#L57-L92 "Source code on GitHub" [12]: https://github.com/primea/js-primea-objects/blob/19ce496560f9ea1fb3b35eefab4afbe9b8d581eb/index.js#L84-L91 "Source code on GitHub" [13]: #functionref [14]: https://github.com/primea/js-primea-objects/blob/19ce496560f9ea1fb3b35eefab4afbe9b8d581eb/index.js#L97-L125 "Source code on GitHub" [15]: #id [16]: https://github.com/primea/js-primea-objects/blob/19ce496560f9ea1fb3b35eefab4afbe9b8d581eb/index.js#L112-L120 "Source code on GitHub" [17]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String [18]: https://github.com/primea/js-primea-objects/blob/19ce496560f9ea1fb3b35eefab4afbe9b8d581eb/index.js#L130-L162 "Source code on GitHub" [19]: https://github.com/primea/js-primea-objects/blob/19ce496560f9ea1fb3b35eefab4afbe9b8d581eb/index.js#L169-L188 "Source code on GitHub"