code: function check_like_score(value) {
      if (value != null) {
          const res = parseInt(value, 10);
          if (!isNaN(res)) {
              return res;
          }
      }
      return 0;
  }
docs: /*
  Check like score and convert to integer if not.
  
  ## Args
  value: Like score to be checked.
  
  ## Returns
  Integer value.