Skip to contents

Returns TRUE if, and only if, all values are present in x and ONLY those values are present in x.

Usage

iff_all_vals(x, values)

Arguments

x

A vector.

values

The values to ensure exist in x.

Value

TRUE or FALSE. When FALSE, missing and/or extra attributes will be included to assist in identifying non-conformity.