Skip to main content
Module

x/nunjucks/mod.js>default.Environment#addFilter

A powerful templating engine with inheritance, asynchronous control, and more (Jinja 2 inspired)
Go to Latest
method default.Environment.prototype.addFilter
import { default } from "https://deno.land/x/nunjucks@3.2.3-2/mod.js";
const { Environment } = default;

Parameters

name: string
func: (...args: any[]) => any
optional
async: boolean