is_complex: Check if an object is a complex vector

Description Usage Arguments Value

View source: R/predicates.R

Description

This will return TRUE for vectors containing combinations of complex numbers and NA_complex_. The vector may have attributes and/or have length zero.

Usage

1

Arguments

x

Object to check

Value

TRUE or FALSE


armcn/pure documentation built on Dec. 30, 2021, 12:16 a.m.