INNER CODE UNIT · JavaScript

CHECK_REGEX2

albertincx/formatbot1 · src/api/utils/index.js:8

const CHECK_REGEX2 = /(no_db)_force(.*?)$/;

function commandNoDb(txt) {
  const found = txt.match(CHECK_REGEX2);

  return found && found[1];
}

function commandCheck(txt) {
  const found = txt.match(CHECK_REGEX);

  return found && found[1];
}

function fetchTimeout(u, connectTimeout = 10000) {
  return fetch(u, {
    dispatcher: new Agent({connectTimeout})
  });

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…