UNPKG

edtf

Version:

Extended Date Time Format (EDTF) / ISO 8601-2 Parser and Library

17 lines (13 loc) 262 B
import { List } from './list.js' import { parse } from './parser.js' export class Set extends List { static parse(input) { return parse(input, { types: ['Set'] }) } get type() { return 'Set' } wrap(content) { return `[${content}]` } }