findArgumentValue

inline fun <T> KSAnnotation.findArgumentValue(name: String): T?

Finds the value of an argument with the specified name in this annotation.

Return

The value of the argument as type T, or null if not found or is not of the expected type.

Parameters

T

The type of the argument value expected.

name

The name of the argument to find.