If a function can take parameters with multiple different type shapes then conformity
can be checked with a checkParam_typeEither() call.
In the example below, the function objNumArr() is only allowed to receive a
single parameter of an object, a single number, or an array.
function PRE_check_obj_num_arr(obj_num_arr){
allowed_types = ['object', 'number', 'array']
return type_czech.checkParam_typeEither(obj_num_arr, allowed_types)
}
objNumArr = type_czech.linkUp(objNumArr, PRE_check_obj_num_arr)
function objNumArr(obj_num_arr){}
objNumArr({}) // pass
objNumArr({key:'key'}) // pass
objNumArr([]) // pass
objNumArr([1, 2, 3]) // pass
objNumArr(9876543210) // pass
objNumArr('String-Fail') // fail