carbon v1.8.0 (2018-09-02T09:54:37Z)
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