| import { Scalar } from '../../nodes/Scalar.js'; | |
| const nullTag = { | |
| identify: value => value == null, | |
| createNode: () => new Scalar(null), | |
| default: true, | |
| tag: 'tag:yaml.org,2002:null', | |
| test: /^(?:~|[Nn]ull|NULL)?$/, | |
| resolve: () => new Scalar(null), | |
| stringify: ({ source }, ctx) => typeof source === 'string' && nullTag.test.test(source) | |
| ? source | |
| : ctx.options.nullStr | |
| }; | |
| export { nullTag }; | |
Xet Storage Details
- Size:
- 434 Bytes
- Xet hash:
- dfa5f83db89dfeb4154f7d8e3c8799e12f660af38ab72d80a34250fc99802bb4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.