Module:IPAddress/doc
Appearance
![]() | This is a documentation subpage for Module:IPAddress. It may contain usage information, categories and other content that is not part of the original module page. |
'"`UNIQ--modulestyles-00000001-QINU`"'
This module is being considered for merging with [[Module:]]. Please discuss this matter at this module's entry at modules for discussion to help reach a consensus.
Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfmnotice|IPAddress/doc}} ~~~~ on their talk page(s). |
Functions are not "local", so other modules can require this module and call them directly. We return an object with 3 small stub functions to call the real ones so that the functions can be called from templates also.
Only dotted decimal notation for IPv4 supported. Does not support dotted hexadecimal, dotted octal, or single-number formats (see IPv4#Address_representations).
Unit tests at Module:IPAddress/testcases