pl: Helper function to pluralize a string

View source: R/utils.R

plR Documentation

Helper function to pluralize a string

Description

Helper function to pluralize a string

Usage

pl(x)

Arguments

x

A vector of length 1 or greater.

Value

A string "s" if the length of x is greater than 1, otherwise an empty string.


metasnf documentation built on June 8, 2025, 12:47 p.m.