Quaternions`
Quaternions`

QuaternionQ

QuaternionQ[q]

gives True if q is a quaternion and False otherwise.

Details and Options