// UnmarshalYAML is yaml.Unmarshaler interface implementation
UnmarshalYAML is yaml.Unmarshaler interface implementation
// UnmarshalYAML is yaml . Unmarshaler interface implementation
func (b *Bool) UnmarshalYAML(unmarshal func(interface{}) error) error {
	var candidate bool
	if err := unmarshal(&candidate); err != nil {
		return err
	}
	b.set(candidate)
	return nil
}
func ( b * Bool ) UnmarshalYAML ( unmarshal func ( interface { } ) error ) error { var candidate bool if err := unmarshal ( & candidate ) ; err != nil { return err } b . set ( candidate ) return nil }
UnmarshalYAML is yaml.Unmarshaler interface implementation
UnmarshalYAML is yaml . Unmarshaler interface implementation