scratch-dsl
Toggle table of contents
master
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
scratch-dsl
scratch-dsl
/
org.scratchapi.scratchdsl
/
IdGenerator
Id
Generator
object
IdGenerator
Members
Properties
ALLOWED_
CHARS
Link copied to clipboard
const
val
ALLOWED_CHARS
:
String
current
Id
Idx
Link copied to clipboard
var
currentIdIdx
:
Int
is
Modifying
Link copied to clipboard
var
isModifying
:
Boolean
If true, all ids will be randomly generated and not counting up.
Functions
make
Id
Link copied to clipboard
fun
makeId
(
)
:
String
make
Random
Id
Link copied to clipboard
fun
makeRandomId
(
length
:
Int
=
16
)
:
String