Reference 〉 Function

Agents.removePrimitive(namestr|list[str])

Removes a previously added primitive. See also Agents.addPrimitive().

Parameters

  • name str|list[str], required

    The name of the primitive to remove, or a list of of primitives to remove.

Return Value bool|list[bool]

Whether the named primitive in fact existed and was removed, or a list corresponding to the elements of the name parameter if a list was passed.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.

History