MCPcopy Create free account
hub / github.com/nodejs/node / isValidLastEventId

Function isValidLastEventId

deps/undici/undici.js:16338–16340  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

16336 "use strict";
16337 var { makeRequest } = require_request2();
16338 function isValidLastEventId(value) {
16339 return value.indexOf("\0") === -1;
16340 }
16341 __name(isValidLastEventId, "isValidLastEventId");
16342 function isASCIINumber(value) {
16343 if (value.length === 0) return false;

Callers 1

processEventMethod · 0.70

Calls 1

indexOfMethod · 0.45

Tested by

no test coverage detected