How to Invert a text in typescript?


I am trying to convert regular text to inverted form. is it possible in typescript?
regular text: how are you?
expected text: expected text


This can be emulated by using typescript and a package that uses different letters that look similar e.g.

If you are thinking about using this in the context of a webpage this can be done far easier and cleaner by using (possibly type-script controlled) CSS though. Have a look at this for example:

Answered By – Vincent

Answer Checked By – Marilyn (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.