Question My friend told me that I shouldnt eat the core of

Question My friend told me that I shouldnt eat the core of an apple and that I should throw it away. Is it poisonous?