Reference 〉 Function

funcStore.add( str name, object|function function )

Adds a function to the dictionary. Subclasses of funcStore should modify this function according to the type of data to be stored.

Parameters

  • name str, required

    The name of the data, to be used as its key for future reference.

  • function object|function, required

    The data to be stored under the name key.

Return Value object|function

The added object or function.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published.

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