Exists checks if named internal property exists and returns true, or false if property does not exist.
(name string)
| 115 | // Exists checks if named internal property exists and returns true, or false if |
| 116 | // property does not exist. |
| 117 | func (o *ReceiverObject) Exists(name string) bool { |
| 118 | if _, exists := o.values[name]; !exists { |
| 119 | return false |
| 120 | } |
| 121 | |
| 122 | return true |
| 123 | } |
| 124 | |
| 125 | // Call executes a method receiver's named internal method, passing a slice of |
| 126 | // values as arguments to the method. If the method fails to execute or returns |
no outgoing calls
no test coverage detected