We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4db736 + 34944a7 commit 4687b25Copy full SHA for 4687b25
1 file changed
README.markdown
@@ -405,12 +405,16 @@ Returns boolean based on kind and value:
405
* ipaddress
406
* network
407
408
-has_interface_with("macaddress", "x:x:x:x:x:x")
409
-has_interface_with("ipaddress", "127.0.0.1") => true
+*Examples:*
+
410
+ has_interface_with("macaddress", "x:x:x:x:x:x")
411
+ has_interface_with("ipaddress", "127.0.0.1") => true
412
413
etc.
414
415
If no "kind" is given, then the presence of the interface is checked:
-has_interface_with("lo") => true
416
417
+ has_interface_with("lo") => true
418
419
420
- *Type*: rvalue
0 commit comments