feat(utils): add isNumeric method

このコミットが含まれているのは:
sinkaroid 2022-06-05 19:05:09 +07:00
コミット 093acc07fe
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: A7DF4E245FDD8159
1個のファイルの変更3行の追加0行の削除

ファイルの表示

@ -57,6 +57,9 @@ async function mock(url: string) {
}
}
export const isNumeric = (val: string) : boolean => {
return !isNaN(Number(val));
};
export { getPururinInfo, getPururinPageCount, getUrl, getId, getDate, timeAgo, mock };