I execute Meteor.call('searchDatabase', keys...) , which is executed whenever the user submits a request. I am currently passing an array of words represented under the name keys . However, I do not know how to do the necessary check(keys, ?) On the server side. Initially, I thought I could do keys.forEach(function(element) { check(element, String)} , but I still get the Did not check() all arguments error. Should I just pass the sent search as the source string to Meteor method method and then split it on the server? or is there a way to verify that the keys are an array?
source share