It's a very simple question actually, but someone asked this to me suddenly and I got confused
He lent me a book.
In this sentence, is the object book (the thing being lent) or me (the one who is being lent the book)?
How can we determine the object in this sentence?