Function validate_ip
Validation of an IP address.
		Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/validation_helper.php
	
	Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/validation_helper.php
| string | $value | The value being checked | 
| string | $type = 'both' | The IP protocol version to validate against IPv4 or IPv6 | 
| 
			boolean
		 | TRUE on success; FALSE on failure |