whole_func_string: function hasTrailingCommaForFunction(node) {
              const length = node.params.length
  
              return (
                  length >= 1 &&
                  sourceCode.getTokenAfter(node.params[length - 1]).value === ","
              )
          }
func_code_string: function hasTrailingCommaForFunction(node) {
              const length = node.params.length
  
              return (
                  length >= 1 &&
                  sourceCode.getTokenAfter(node.params[length - 1]).value === ","
              )
          }
func_documentation_string: Checks whether the given function has trailing commas or not.
  
  @param {ASTNode} node - The function node to check.
  @returns {boolean} `true` if the function has trailing commas.