isNotRememberedWithKeys

fun UCallExpression.isNotRememberedWithKeys(vararg keyClassNames: Name): Boolean(source)

Returns whether this UCallExpression is directly invoked within the body of a Composable function or lambda without being remembered, or whether it is invoked inside a `remember call without the provided keys.

  • Returns true if this UCallExpression is directly invoked inside a Composable function or lambda without being remembered

  • Returns true if this UCallExpression is invoked inside a call to remember, but without all of the provided keys being used as key parameters to remember

  • Returns false if this UCallExpression is correctly remembered with the provided keys, or is not called inside a remember block, and is not called inside a Composable function or lambda

Parameters

keyClassNames

Names representing the expected classes that should be used as a key parameter to the remember call