File: is_something.Rd

package info (click to toggle)
r-cran-pkgmaker 0.32.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,192 kB
  • sloc: sh: 13; makefile: 2
file content (70 lines) | stat: -rw-r--r-- 1,324 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/is.R
\name{is_something}
\alias{is_something}
\alias{is_NA}
\alias{isFALSE}
\alias{isNumber}
\alias{isReal}
\alias{isInteger}
\alias{isString}
\alias{is.dir}
\alias{is.file}
\alias{hasNames}
\title{Testing Object Type}
\usage{
is_NA(x)

isFALSE(x)

isNumber(x)

isReal(x)

isInteger(x)

isString(x, y, ignore.case = FALSE)

is.dir(x)

is.file(x)

hasNames(x, all = FALSE)
}
\arguments{
\item{x}{an R object}

\item{y}{character string to compare with.}

\item{ignore.case}{logical that indicates if the comparison
should be case sensistive.}

\item{all}{logical that indicates if the object needs all names non empty}
}
\value{
\code{TRUE} or \code{FALSE}
}
\description{
Testing Object Type

\code{is_NA} tests if a variable is exactly NA (logical, character, numeric or integer)

\code{isFALSE} Tests if a variable is exactly FALSE.

\code{isNumber} tests if a variable is a single number

\code{isReal} tests if a variable is a single real number

\code{isInteger} tests if an object is a single integer

\code{isString} tests if an object is a character string.

\code{is.dir} tests if a filename is a directory.

\code{is.file} tests if a filename is a file.

\code{hasNames} tests if an object has names.
}
\seealso{
\code{\link{isTRUE}}
}