assignableTo

open override fun assignableTo(type: KType): Boolean(source)

Whether a value of this schema can be assigned to a variable with the provided type.

This is used by validations to check, at runtime, whether dependency values can be assigned to variables of a certain type.

Unless overriden, this function simply returns true, meaning that values can be assigned to any type.