Skip to contents

These operators are wrappers around identical() for whole-object identity checks. They return a single logical value and are not elementwise comparisons.

Usage

e1 %===% e2

e1 %!==% e2

Arguments

e1

An object to compare.

e2

An object to compare.

Value

A single logical value.

Examples


1:3 %===% 1:3
#> [1] TRUE
1 %===% 1L
#> [1] FALSE

1:3 %!==% 3:1
#> [1] TRUE
1 %!==% 1L
#> [1] TRUE