{"name":"isEqualTypeParams","operator":null,"title":"isEqualTypeParams","type":"command","url":"https://community.bistudio.com/wiki/isEqualTypeParams","revid":377090,"updated":"2026-01-01T09:48:04Z","groups":["Variables"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.54"}],"since":{"game":"arma3","name":"Arma 3","version":"1.54"},"arma3_since":"1.54","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Compares types of all elements of input array to types of all elements of template array. Similar to isEqualTypeArray however this command is designed for fast validation of functions params, so there are differences:\n- Input can be anything but will be expected to be an Array, otherwise false is returned\n- Input array can be longer but not shorter than template array, will return false if shorter\n- nil could be used in template type array as a wild card to allow any type match","syntaxes":[{"syntax":"input isEqualTypeParams template","since":null,"effect":null,"exec":null,"params":[{"name":"input","type":"Anything","optional":false,"default":null,"description":"could be value of any type, but only type Array will be validated","types":["Anything"],"since":null,"text":"input: Anything - could be value of any type, but only type Array will be validated"},{"name":"template","type":"Array of Anything","optional":false,"default":null,"description":"array of expected types","types":["Array","Anything"],"since":null,"text":"template: Array of Anything - array of expected types"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"binary","operator":null,"left":{"text":"input","types":["Anything"]},"right":{"text":"template","types":["Array","Anything"]}}],"examples":[{"text":"```sqf\n// These all return true\n[1,2,player,\"10\"] isEqualTypeParams [0,0,objNull,\"\"];\n[1,2,player,\"10\",true] isEqualTypeParams [0,0,nil,\"\"];\n[1,2,getPos player,\"10\",true] isEqualTypeParams [0,0,nil,\"\"];\n```","code":["// These all return true\n[1,2,player,\"10\"] isEqualTypeParams [0,0,objNull,\"\"];\n[1,2,player,\"10\",true] isEqualTypeParams [0,0,nil,\"\"];\n[1,2,getPos player,\"10\",true] isEqualTypeParams [0,0,nil,\"\"];"]},{"text":"```sqf\n// These all return false\n123 isEqualTypeParams [0,0,objNull,\"\"];\n[] isEqualTypeParams [0,0,objNull,\"\"];\n[1,2,player] isEqualTypeParams [0,0,objNull,\"\"];\n```","code":["// These all return false\n123 isEqualTypeParams [0,0,objNull,\"\"];\n[] isEqualTypeParams [0,0,objNull,\"\"];\n[1,2,player] isEqualTypeParams [0,0,objNull,\"\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["isEqualTypeAll","isEqualTypeAny","isEqualType","isEqualTypeArray","param","params","isEqualTo","typeName"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Variables","Introduced with Arma 3 version 1.54","Scripting Commands"]}