how do i add a function to the prototype chain on a primitive type in flow? June 2, 2022 June 2, 2022 / 1 minute of reading string & {mySplit: Function} works fine. CLICK HERE to find out more related problems solutions.