If |z|=1, then the value of (z−1z+1) is
If z−1z+1 is purely imaginary number (z≠−1), find the value of |z|.