carbon ~master (2022-03-16T06:27:41.4511405)
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