How to use the isNumeric function from mathjs

Find comprehensive JavaScript mathjs.isNumeric code examples handpicked from public code repositorys.

0
1
2
3
4
5
6
7
8
9
const {exportsCommandName} = require("../../util/loader")
const discord = require('discord.js');
const { isNumeric } = require("mathjs");

module.exports.run = async (bot,message,args) =>{
    let time = isNumeric(args[0]) ? args[0] : 10000 ;
    if(args[0] === "stop"){
        stop(bot,message)
        return;
    }
fork icon0
star icon0
watch icon0