☰
Debian Codegraph
@
1.2.4+dfsg-1
1.2.3+dfsg-1
/
/
R
/
predicate.R
☽
☼
R/predicate.R
code
plain
raw
MIT
2000-2023 Posit Software, PBC
debian/copyright
1
2
pscalar <- function(x) {
3
length(x) == 1L
4
}
5
6
pstring <- function(x) {
7
is.character(x) && length(x) == 1L
8
}
9