Lodash.template_

Creates a compiled template function that can interpolate data properties in "interpolate" delimiters, HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data properties may be accessed as free variables in the template. If a setting object is given, it takes precedence over _.templateSettings values.

Note: In the development build _.template utilizes sourceURLs for easier debugging.

For more information on precompiling templates see lodash's custom builds documentation.

For more information on Chrome extension sandboxes see Chrome's extensions documentation.

struct Lodash
nothrow @trusted @safe ref
template_
(
T = Any
)
(
auto ref T options = T.init
)

Return Value

Type: auto ref

- Lodash chained on (Function): the compiled template function.

Meta