bang: Uses the logical not

View source: R/bang.r

bangR Documentation

Uses the logical not

Description

A wrapper function for !.

Usage

bang(x)

Arguments

x

a logical object

Value

a logical object

Examples

# load the data
data(nhanes)

# check whether values of smq020 are not missing
nhanes$smq020 |> is.na() |> bang()

# check whether values of smq020 are not missing
nhanes |> dollar(smq020) |> is.na() |> bang()

baseverse documentation built on April 29, 2026, 1:08 a.m.