Skip to content

WeakSet

3 wrappers generated from WeakSet and WeakSet.prototype. Every entry takes a single object literal whose keys mirror the original parameter names, plus an optional prompt: string for the LLM path.

MethodFirst signature
add
add(input: { weakSet: <receiver>; value: T; prompt?: string }): Promise<WeakSet<T>>
delete
delete(input: { weakSet: <receiver>; value: T; prompt?: string }): Promise<boolean>
has
has(input: { weakSet: <receiver>; value: T; prompt?: string }): Promise<boolean>