func (p *ArrayProxy) AddInteger(values ...int) *ArrayProxy {
	for _, value := range values {
		p.addInternal(func(ticket *time.Ticket) json.Element {
			return json.NewPrimitive(value, ticket)
		})
	}
	return p
}
AddInteger adds the given integer at the last.
package proxy
import (
	gotime "time"
	"github.com/yorkie-team/yorkie/internal/log"
	"github.com/yorkie-team/yorkie/pkg/document/change"
	"github.com/yorkie-team/yorkie/pkg/document/json"
	"github.com/yorkie-team/yorkie/pkg/document/operation"
	"github.com/yorkie-team/yorkie/pkg/document/time"
)
type ArrayProxy struct {
	*json.Array
	context *change.Context
}
func NewArrayProxy(ctx *change.Context, array *json.Array) *ArrayProxy {
	return &ArrayProxy{
		Array:   array,
		context: ctx,
	}
}
func (p *ArrayProxy) AddNull() *ArrayProxy {
	p.addInternal(func(ticket *time.Ticket) json.Element {
		return json.NewPrimitive(nil, ticket)
	})
	return p
}
func (p *ArrayProxy) AddBool(values ...bool) *ArrayProxy {
	for _, value := range values {
		p.addInternal(func(ticket *time.Ticket) json.Element {
			return json.NewPrimitive(value, ticket)
		})
	}
	return p
}