File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -755,6 +755,18 @@ syntactically invalid, or if a header was forbidden.</p>
755
755
<ul >
756
756
<li ><a name =" method_fields.get.0 " ></a > list< ; <a href =" #field_value " ><a href =" #field_value " ><code >field-value</code ></a ></a >> ; </li >
757
757
</ul >
758
+ <h4 ><a name =" method_fields.has " ><code >[method]fields.has: func</code ></a ></h4 >
759
+ <p >Returns <code >true</code > when the key is present in this <a href =" #fields " ><code >fields</code ></a >. If the key is
760
+ syntactically invalid, <code >false</code > is returned.</p >
761
+ <h5 >Params</h5 >
762
+ <ul >
763
+ <li ><a name =" method_fields.has.self " ><code >self</code ></a >: borrow< ; <a href =" #fields " ><a href =" #fields " ><code >fields</code ></a ></a >> ; </li >
764
+ <li ><a name =" method_fields.has.name " ><code >name</code ></a >: <a href =" #field_key " ><a href =" #field_key " ><code >field-key</code ></a ></a ></li >
765
+ </ul >
766
+ <h5 >Return values</h5 >
767
+ <ul >
768
+ <li ><a name =" method_fields.has.0 " ></a > <code >bool</code ></li >
769
+ </ul >
758
770
<h4 ><a name =" method_fields.set " ><code >[method]fields.set: func</code ></a ></h4 >
759
771
<p >Set all of the values for a key. Clears any existing values for that
760
772
key, if they have been set.</p >
You can’t perform that action at this time.
0 commit comments