carbon v1.5.4 (2015-09-23T08:11:56Z)
Home
Dub
Repo
isRationalType
carbon
rational
true if T is rational
template
isRationalType (
T
) {
static if
(
is(T U == Rational!U)
)
enum
bool
isRationalType
;
static if
(!(
is(T U == Rational!U)
))
enum
bool
isRationalType
;
}
Members
Variables
isRationalType
enum
bool
isRationalType
;
Undocumented in source.
isRationalType
enum
bool
isRationalType
;
Undocumented in source.
Meta
Source
See Implementation
carbon
rational
aliases
over
functions
rational
structs
Rational
templates
isRationalType
true if T is rational