What's convention of Euler angles in Babylon.js?

I have read the babylon.math.ts and found that Quaternion.toEulerAngles is in order ‘YZX’. But is this intrinsic or extrinsic? Currently, I want to convert it to ZYX (intrinsic ) for Tait-Bryan in right hand coordinate system. But my math is bad

Hi @Zen_Power and welcome to the forum. Hope this page from the docs helps Euler Angles and Quaternions - Babylon.js Documentation

And maybe this Position and Rotation - Babylon.js Documentation