isIP

fun isIP(input: CharSequence?): Boolean

Return whether input matches regex of ip address.

Return

true: yes

false: no

Parameters

input

The input.