mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-09 13:59:48 +01:00
15 lines
326 B
Kotlin
15 lines
326 B
Kotlin
/*
|
|
* Nextcloud Talk - Android Client
|
|
*
|
|
* SPDX-FileCopyrightText: 2025 Sowjanya Kota <sowjanya.kch@gmail.com>
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
package com.nextcloud.talk
|
|
|
|
object PhoneUtils {
|
|
fun isPhoneNumber(input: String?): Boolean {
|
|
return input?.matches(Regex("^\\+?\\d+$")) == true
|
|
}
|
|
}
|