Skip to contents

Is the length of x between two values?

Usage

has_len_between(x, left = 1, right = left)

has_min_length(x, min)

has_max_length(x, max)

Arguments

x

Object to check.

left, right

Min and max values to check if the length of x is between.

min

Min value used by has_min_length().

max

Max value used by has_max_length().