func (y *Yaml) Array() ([]interface{}, error) {
	if a, ok := (y.data).([]interface{}); ok {
		return a, nil
	}
	return nil, errors.New("type assertion to []interface{} failed")
}
// Array type asserts to an `array`
Array type asserts to an `array`
// Array type asserts to an ` array `
func (y *Yaml) Array() ([]interface{}, error) {
	if a, ok := (y.data).([]interface{}); ok {
		return a, nil
	}
	return nil, errors.New("type assertion to []interface{} failed")
}
func ( y * Yaml ) Array ( ) ( [ ] interface { } , error ) { if a , ok := ( y . data ) . ( [ ] interface { } ) ; ok { return a , nil } return nil , errors . New ( " " ) }
Array type asserts to an `array`
Array type asserts to an ` array `