Novelcrafter

Nesting Functions

Include functions within other functions.

1 min read Last updated May 10, 2025

You can nest functions within other functions; for example, the below expression requests that the POV codex entry is returned with all of their relations.

{withRelations(codex.get(pov))}

This can be repeated over multiple functions, for instance:

{asList(codex.name(codex.characters(codex.all)))}

This expression requests a list of the names of all the characters in our codex.