MCPcopy Create free account
hub / github.com/SolarLune/masterplan / NewProperty

Function NewProperty

properties.go:19–24  ·  view source on GitHub ↗
(name string, properties *Properties)

Source from the content-addressed store, hash-verified

17}
18
19func NewProperty(name string, properties *Properties) *Property {
20 return &Property{
21 Properties: properties,
22 Name: name,
23 }
24}
25
26func (prop *Property) IsString() bool {
27 _, isOK := prop.data.(string)

Callers 2

GetMethod · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected