mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
frontend linting
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
const isNumber = (value: string|number) => {
|
||||
const isNumber = (value: string|number): boolean => {
|
||||
value = value.toString();
|
||||
return /^\d+$/.test(value);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user