vapi4k
Toggle table of contents
1.2.4
jvm
Platform filter
jvm
Switch theme
Search in API
vapi4k
vapi4k-utils
/
com.vapi4k.common
/
Utils
Utils
object
Utils
(
source
)
Members
Properties
error
Msg
Link copied to clipboard
val
Throwable
.
errorMsg
:
String
pretty
Format
Link copied to clipboard
val
prettyFormat
:
Json
raw
Format
Link copied to clipboard
val
rawFormat
:
Json
Functions
capitalize
First
Char
Link copied to clipboard
fun
String
.
capitalizeFirstChar
(
)
:
String
decode
Link copied to clipboard
fun
String
.
decode
(
)
:
String
encode
Link copied to clipboard
fun
String
.
encode
(
)
:
String
ensure
Ends
With
Link copied to clipboard
fun
String
.
ensureEndsWith
(
s
:
String
)
:
String
ensure
Starts
With
Link copied to clipboard
fun
String
.
ensureStartsWith
(
s
:
String
)
:
String
is
Not
Null
Link copied to clipboard
fun
Any
?
.
isNotNull
(
)
:
Boolean
is
Null
Link copied to clipboard
fun
Any
?
.
isNull
(
)
:
Boolean
lambda
Link copied to clipboard
fun
<
T
>
lambda
(
block
:
T
)
:
T
lpad
Link copied to clipboard
fun
Int
.
lpad
(
width
:
Int
,
padChar
:
Char
=
'0'
)
:
String
obfuscate
Link copied to clipboard
fun
String
.
obfuscate
(
freq
:
Int
=
2
)
:
String
resource
File
Link copied to clipboard
fun
resourceFile
(
filename
:
String
)
:
String
rpad
Link copied to clipboard
fun
Int
.
rpad
(
width
:
Int
,
padChar
:
Char
=
'0'
)
:
String
to
Error
String
Link copied to clipboard
fun
Throwable
.
toErrorString
(
)
:
String
trim
Leading
Spaces
Link copied to clipboard
fun
String
.
trimLeadingSpaces
(
)
:
String