how to check if data is an array or not ruby code example Example: how to check if data is an array or not ruby .kind_of?(Array)