Learn R Programming

moodef (version 1.2.0)

has_gaps: Check if a String Contains Gaps

Description

Checks if a string contains the specific substrings "[[1]]" and "[[2]]".

Usage

has_gaps(str)

Value

logical

TRUE if the string contains gaps, FALSE otherwise.

Arguments

str

character A string to check.