Is Libya in the Middle East or only in North Africa?

I know neighbouring Egypt is generally considered as part of the Middle East, but what about Libya ?
4 answers 4