The last argument of a custom helper (see Braces.Handlebars.Helpers), as Handlebars.js's
options:
name: the helper's name as the template writes it;hash: thekey=valuearguments, with string keys;data: the@variables, with string keys, such as"root"and"index";this: the context the helper is called in;fnandinverse: for a block helper, functions that render the block and its{{else}}block with a context, giving text;nilin{{helper}}. Without{{else}},inversegives"".Braces.Handlebars.Helpers.render_block/3adds@variables and block params;block_params: how many block params the block declares (as |a b|is 2);loc: the tag's position in the template.
Summary
Types
@type t() :: %Braces.Handlebars.Helpers.Options{ block_params: non_neg_integer(), data: map(), fn: (term() -> String.t()) | nil, hash: %{required(String.t()) => term()}, inverse: (term() -> String.t()) | nil, loc: map() | nil, name: String.t(), render: (atom(), term(), keyword() -> String.t()), this: term() }