Description

AsValue converts any given value to a pongo2.Value Usually being used within own functions passed to a template through a Context or within filter functions.

Example:

AsValue("my string")

AsValue is referenced in 16 repositories

github.com/flosch/pongo2 github.com/flosch/pongo2-addons github.com/mattn/jedie

...