Sha256: fdb9e46fe7e7db9710738109a83edcde0da389ac508529f58db88953d10d285d
Contents?: true
Size: 573 Bytes
Versions: 117
Compression:
Stored size: 573 Bytes
Contents
'use strict'; var Type = require('../../type'); function resolveJavascriptUndefined() { return true; } function constructJavascriptUndefined() { /*eslint-disable no-undefined*/ return undefined; } function representJavascriptUndefined() { return ''; } function isUndefined(object) { return typeof object === 'undefined'; } module.exports = new Type('tag:yaml.org,2002:js/undefined', { kind: 'scalar', resolve: resolveJavascriptUndefined, construct: constructJavascriptUndefined, predicate: isUndefined, represent: representJavascriptUndefined });
Version data entries
117 entries across 102 versions & 17 rubygems