MCPcopy Create free account
hub / github.com/breck7/scroll / constructor

Method constructor

external/.scrollLibs.js:18789–18793  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18787// ErrorAtomType => parsers asks for a '' atom type here but the parsers does not specify a '' atom type. (todo: bring in didyoumean?)
18788class ParsersBooleanAtom extends AbstractParsersBackedAtom {
18789 constructor() {
18790 super(...arguments)
18791 this._trues = new Set(["1", "true", "t", "yes"])
18792 this._falses = new Set(["0", "false", "f", "no"])
18793 }
18794 _isValid() {
18795 const atom = this.getAtom()
18796 const str = atom.toLowerCase()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected