# Method MasterObject()->Encoder()->nameof()

Method nameof

  ``string`|`array` nameof(`mixed` `what`, `void`|`array`(`object`) `module_object`)`

Description

  When `module_object` is set and the name would end with an `object_program` step (i.e. `'p'`), then drop that step so that the name corresponds to the object instead. `<code class='reference paramref'>module_object`[0] will receive the found object.