Check out example codes for "difference between is_a and kind_of ruby". It will help you in understanding the concepts better.

Code Example 1

"hello".is_a? Object and "hello".kind_of? Object return true because "hello" is a String and String is a subclass of Object.
However "hello".instance_of? Object returns false.

Learn ReactJs, React Native from akashmittal.com