Skip to content

chocobo333/asciitype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asciitype

That module has functions that test whether a character is of a certain type.

Contents

Installation

nimble install asciitype

Usage

import asciitype

var
    a = 'f'
    b = "FOO1"
    c = "fhioeFKOhu47893joi983FFd"

doAssert a.isPrint == true
doAssert b.isUpper == false
doAssert b.isUpper(true) == true
doAssert c.isAnyType({upper, lower, num}) == true
doAssert ' '.isAnyType({space}) == true

Document

link

About

This module performs character tests.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages