Is it safe to use a frayed iphone charger?

I'm not sure if its freyed. But the top white rubbery stuff is slightly bent and coming off to the point where you can see about a cm(probably less) of the wire.
Its kind of important that I charge it, because if anyone needs to call me, but I do not want to use it if it is potentially dangerous.
is it safe?

You should be safe for now but you really need to replace it soon.