brazejs
Version:
Liquid template engine for the Braze variant by pure JavaScript: compatible to Braze, easy to extend.
7 lines (6 loc) • 390 B
TypeScript
import Context from '../context/context';
export declare function parseExp(exp: string, ctx: Context): Promise<any>;
export declare function evalExp(str: string, ctx: Context): Promise<any>;
export declare function evalValue(str: string | undefined, ctx: Context): Promise<any>;
export declare function isTruthy(val: any): boolean;
export declare function isFalsy(val: any): boolean;