Function is a helper to unmarshal a callback function.
()
| 106 | |
| 107 | // Function is a helper to unmarshal a callback function. |
| 108 | func (p *Partial) Function() (f Function, err error) { |
| 109 | err = p.Unmarshal(&f) |
| 110 | return |
| 111 | } |
| 112 | |
| 113 | //---------------------------------------------------------------- |
| 114 | // Helper methods for unmarshaling JSON types that panic on errors |
no test coverage detected