abstract val isOptional: Boolean
true
if this parameter is optional and can be omitted when making a call via KCallable.callBy, or false
otherwise.
A parameter is optional in any of the two cases:
© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-parameter/is-optional.html