UNPKG

twing

Version:

First-class Twig engine for Node.js

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