getComments: Returns a list of comments or an empty character if there are...

Description Usage Arguments Value

View source: R/utils-html.R

Description

Accepts the comments string and checks to see if it's null or empty, and if it is, returns an empty string

Usage

1
getComments(comments)

Arguments

comments

The text comments from the JSON data

Value

comments as they were passed or an empty string if empty or null


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.