()
| 305 | } |
| 306 | |
| 307 | func (b *Binding) AsString() (string, bool) { |
| 308 | s, ok := dagql.UnwrapAs[dagql.String](b.Value) |
| 309 | if !ok { |
| 310 | return "", false |
| 311 | } |
| 312 | return s.String(), true |
| 313 | } |
| 314 | |
| 315 | // A Dagql hook for dynamically extending the Environment and Binding types |
| 316 | // based on available types |
no test coverage detected