src/utils/index.js
function getBlockIncreaseFromName(methodName) {
  const matchNumbers = String(methodName).match(/_increaseBlockBy(\d+)/);

  if (matchNumbers !== null
    && typeof matchNumbers[1] === 'string') {
    return parseInt(matchNumbers[1], 10);
  }

  return 0;
}
function getBlockIncreaseFromName(methodName) {
  const matchNumbers = String(methodName).match(/_increaseBlockBy(\d+)/);

  if (matchNumbers !== null
    && typeof matchNumbers[1] === 'string') {
    return parseInt(matchNumbers[1], 10);
  }

  return 0;
}
function getBlockIncreaseFromName ( methodName ) { const matchNumbers = String ( methodName ) . match ( / _increaseBlockBy(\d+) / ) ; if ( matchNumbers !== null && typeof matchNumbers [ 1 ] === 'string' ) { return parseInt ( matchNumbers [ 1 ] , 10 ) ; } return 0 ; }
get block increase value from method name
get block increase value from method name