UNPKG

twing

Version:

First-class Twig engine for Node.js

12 lines (11 loc) 394 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isEvenSynchronously = exports.isEven = void 0; const isEven = (_executionContext, value) => { return Promise.resolve(value % 2 === 0); }; exports.isEven = isEven; const isEvenSynchronously = (_executionContext, value) => { return value % 2 === 0; }; exports.isEvenSynchronously = isEvenSynchronously;