atom, function
Source: /avail/Avail/Foundation/Early Definers
Categories: Primitives, Declarations, Methods
Define a new private method. The semantic restriction ensures that the method is not named in the module's Names section. This should not be used to extend existing methods.
Position | Name | Type | Description | |
---|---|---|---|---|
Parameters | ||||
1 | methodName | atom | The atom that uniquely names the new method. | |
2 | function | function | The original implementation of the method. | |
Returns | ⊤ |
string, function
Source: /avail/Avail/Foundation/Early Definers
Categories: Primitives, Declarations, Methods
Define a new private method. The semantic restriction ensures that the method is not named in the module's Names section. This should not be used to extend existing methods.
Position | Name | Type | Description | |
---|---|---|---|---|
Parameters | ||||
1 | methodName | string | The name of the new method. | |
2 | function | function | The original implementation of the method. | |
Returns | ⊤ |