UNPKG

twing

Version:

First-class Twig engine for Node.js

12 lines (11 loc) 402 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isDefinedSynchronously = exports.isDefined = void 0; const isDefined = (_executionContext, value) => { return Promise.resolve(!!value); }; exports.isDefined = isDefined; const isDefinedSynchronously = (_executionContext, value) => { return !!value; }; exports.isDefinedSynchronously = isDefinedSynchronously;