MCPcopy Create free account
hub / github.com/cogentcore/core / DeleteProperty

Method DeleteProperty

tree/nodebase.go:420–425  ·  view source on GitHub ↗

DeleteProperty deletes the property with the given key.

(key string)

Source from the content-addressed store, hash-verified

418
419// DeleteProperty deletes the property with the given key.
420func (n *NodeBase) DeleteProperty(key string) {
421 if n.Properties == nil {
422 return
423 }
424 delete(n.Properties, key)
425}
426
427// Tree Walking:
428

Callers 4

CompileMethod · 0.80
CompileMethod · 0.80
RemoveOrphanedDefsMethod · 0.80
TestPropertiesFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestPropertiesFunction · 0.64