Skip to content

isValidOwner

function isValidOwner(owner): boolean;

Non-throwing form, for a caller that must decide what to do about an invalid owner rather than propagate. wireWorkingMemory uses this: an unusable owner drops the memory surface for that session, exactly as an unresolvable one already does, instead of throwing through the middle of a turn. Fail closed without taking the conversation down with it.

Parameter Type

owner

string

boolean