onIsInstance
infix inline fun <IncomingOutput, IntermediateOutput, OutgoingInput, T : Any> AIAgentEdgeBuilderIntermediate<IncomingOutput, IntermediateOutput, OutgoingInput>.onIsInstance(klass: KClass<T>): AIAgentEdgeBuilderIntermediate<IncomingOutput, T, OutgoingInput>(source)
Creates an edge that filters outputs based on their type.
Parameters
klass
The class to check instance against (not actually used, see implementation comment)