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