coequal is a small utility function to check all type data types and objects in javascript.