is_plural: Is this word plural?

Description Usage Arguments Examples

View source: R/is_plural.R

Description

Return either the correct word to say for this string ("them" or "it") or a boolean value

Usage

1
is_plural(word, return_bool = FALSE)

Arguments

word

A string

return_bool

Should you get the word to say back or a boolean?

Examples

1
2
is_plural("CATS")
is_plural("dog", return_bool = TRUE)

aedobbyn/dobtools documentation built on May 28, 2019, 2:33 a.m.