eq
Class: matlab.net.http.HeaderField
Namespace: matlab.net.http
Compare two HeaderField arrays
Description
compares
two field1 == field2HeaderField arrays element by element, returning
an array of logical values indicating matching elements. The arrays
must have the same dimensions, unless one is a scalar.
Two header fields are equal if they are functionally equivalent, even if they are not identical. Functionally equivalent means both of these conditions are true:
Nameproperties match using a case-insensitive comparisonValueproperties match. If theconvertmethod is supported for theHeaderFieldtype, MATLAB® uses theisequalmethod on the results ofconvert. Ifconvertis not supported, comparisons are based on a case-sensitive match of theValuestrings.
The == method compares the Name and Value properties
only. The method ignores the actual classes of field1 and field2,
since both are instances of the HeaderField class.
Input Arguments
Examples
Version History
Introduced in R2016b