RandomStringOptions
이 콘텐츠는 아직 번역되지 않았습니다.
RandomStringOptions =
object
Defined in: src/util/RandomString.ts:42
Which character classes randomString draws from. Every class defaults
to enabled, so randomString(12) is alphanumeric.
There is deliberately no letters flag: it would overlap with the two case
flags and admit states with no meaning — letters: false alongside
upperCase: true, or letters: true with both cases off. Three orthogonal
classes have no such state, and “letters” is simply lowerCase || upperCase.
Properties
Section titled “Properties”digits?
Section titled “digits?”
readonlyoptionaldigits?:boolean
Defined in: src/util/RandomString.ts:48
Include 0–9. Default true.
lowerCase?
Section titled “lowerCase?”
readonlyoptionallowerCase?:boolean
Defined in: src/util/RandomString.ts:44
Include a–z. Default true.
upperCase?
Section titled “upperCase?”
readonlyoptionalupperCase?:boolean
Defined in: src/util/RandomString.ts:46
Include A–Z. Default true.
