number

package
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is11PhoneNum

func Is11PhoneNum(numStr string) bool

判断是否为11为手机号码

func IsIdCardNum

func IsIdCardNum(numStr string) bool

判断是否为18位身份证号

func IsInteger

func IsInteger(numStr string) bool

判断字符串是不是整数

func IsNonNeg

func IsNonNeg(numStr string) bool

判断是否为非负数

func IsNonNegInt

func IsNonNegInt(numStr string) bool

判断非负整数

func IsPosInt

func IsPosInt(numStr string) bool

判断字符串是否为正整数

func IsPosNum

func IsPosNum(numStr string) bool

判断是否为正数

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL