isDate

fun isDate(input: CharSequence?): Boolean

Return whether input matches regex of date which pattern is "yyyy-MM-dd".

Return

true: yes

false: no

Parameters

input

The input.