Skip to content

A simple utility to check if a string is a number in Golang

Notifications You must be signed in to change notification settings

kics223w1/numutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

numutils

A simple utility to check if a string is a number. Port from is-number. Checkout my other open source projects at kics223w1. Welcome to contribute to this project.

Installation

go get github.com/kics223w1/numutils

Usage

import "github.com/kics223w1/numutils"

numutils.IsNumber("123") // true
numutils.IsNumber("abc") // false

About

A simple utility to check if a string is a number in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published