MCPcopy Create free account
hub / github.com/parse-community/parse-server / fromString

Method fromString

src/LiveQuery/Id.js:13–19  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

11 }
12
13 static fromString(str: string) {
14 var split = str.split(':');
15 if (split.length !== 2) {
16 throw new TypeError('Cannot create Id object from this string');
17 }
18 return new Id(split[0], split[1]);
19 }
20}
21
22module.exports = Id;

Callers 1

handleParseHeadersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected