kobweb
Toggle table of contents
0.21.1
js
Platform filter
js
Switch theme
Search in API
kobweb
kobweb-core
/
com.varabyte.kobweb.navigation
/
prependIf
prepend
If
fun
BasePath.Companion
.
prependIf
(
condition
:
Boolean
,
path
:
String
)
:
String
(
source
)
Conditionally prepend the base path only if the passed in condition is true.