MCPcopy Create free account
hub / github.com/deuill/go-php / Exists

Method Exists

engine/receiver.go:117–123  ·  view source on GitHub ↗

Exists checks if named internal property exists and returns true, or false if property does not exist.

(name string)

Source from the content-addressed store, hash-verified

115// Exists checks if named internal property exists and returns true, or false if
116// property does not exist.
117func (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

Callers 1

engineReceiverExistsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected