function isTypeValueArrayCheck(value, types) {
  return types.find((type) => {
    return compareType(value, type);
  }) !== undefined;
}
Checks if value is the representation of its type like:
"<integer>"
Works in array types
@param {string} value - Value to check for
@param {*} types - The types in the schema
@returns {Boolean} the value is the representation of its type