You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function is_v4(ip) {
if (substr(':'))
return false;
return true;
}
Current function makes no sense, it doesnt use the passed ip and substr is also not a viable option to check if a string contains a substring. index might be a better choice :)
The text was updated successfully, but these errors were encountered:
Current function makes no sense, it doesnt use the passed ip and substr is also not a viable option to check if a string contains a substring. index might be a better choice :)
The text was updated successfully, but these errors were encountered: