Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 2.15 KB

dw-random.textrandom.md

File metadata and controls

42 lines (32 loc) · 2.15 KB

Home > @antv/dw-random > TextRandom

TextRandom class

Generator for string

Signature:

export declare class TextRandom extends BasicRandom 

Properties

Property Modifiers Type Description
database TextDB

Methods

Method Modifiers Description
ccharacter(options) return a random chinese character
cfirstname() return a random chinese first name
character(options) Return a random char
clastname(options) return a random chinese last name
cname(options) return a random chinese name
cparagraph(options) return a random chinese paragraph
csentence(options) return a random chinese sentence
cword(options) return a random chinese word
cZodiac(options) return a random chinese zodiac
firstname(options) return a random english first name
lastname() return a random english last name
name(options) return a random english name
paragraph(options) return a random paragraph
phone(options) return a random phone number
sentence(options) return a random sentence
string(options) Return a random string
word(options) return a random world