graphqld ~master (2021-10-12T07:07:01Z)
Dub
Repo
toType
graphql
helper
Undocumented in source.
@
safe
template
toType (
T
) {
import
std
.
bigint
:
BigInt
;
;
import
std
.
traits
:
isArray
,
isIntegral
,
isAggregateType
,
isFloatingPoint
,
isSomeString
;
;
@
safe
static if
(
is(T == bool)
)
enum
toType
;
@
safe
static if
(!(
is(T == bool)
))
static if
(
isIntegral!(T)
)
enum
toType
;
@
safe
static if
(!(
is(T == bool)
))
static if
(!(
isIntegral!(T)
))
static if
(
isFloatingPoint!(T)
)
enum
toType
;
@
safe
static if
(!(
is(T == bool)
))
static if
(!(
isIntegral!(T)
))
static if
(!(
isFloatingPoint!(T)
))
static if
(
isSomeString!(T)
)
enum
toType
;
@
safe
static if
(!(
is(T == bool)
))
static if
(!(
isIntegral!(T)
))
static if
(!(
isFloatingPoint!(T)
))
static if
(!(
isSomeString!(T)
))
static if
(
isArray!(T)
)
enum
toType
;
@
safe
static if
(!(
is(T == bool)
))
static if
(!(
isIntegral!(T)
))
static if
(!(
isFloatingPoint!(T)
))
static if
(!(
isSomeString!(T)
))
static if
(!(
isArray!(T)
))
static if
(
isAggregateType!(T)
)
enum
toType
;
@
safe
static if
(!(
is(T == bool)
))
static if
(!(
isIntegral!(T)
))
static if
(!(
isFloatingPoint!(T)
))
static if
(!(
isSomeString!(T)
))
static if
(!(
isArray!(T)
))
static if
(!(
isAggregateType!(T)
))
static if
(
is(T == BigInt)
)
enum
toType
;
@
safe
static if
(!(
is(T == bool)
))
static if
(!(
isIntegral!(T)
))
static if
(!(
isFloatingPoint!(T)
))
static if
(!(
isSomeString!(T)
))
static if
(!(
isArray!(T)
))
static if
(!(
isAggregateType!(T)
))
static if
(!(
is(T == BigInt)
))
enum
toType
;
}
Members
Manifest constants
toType
enum
toType
;
Undocumented in source.
toType
enum
toType
;
Undocumented in source.
toType
enum
toType
;
Undocumented in source.
toType
enum
toType
;
Undocumented in source.
toType
enum
toType
;
Undocumented in source.
toType
enum
toType
;
Undocumented in source.
toType
enum
toType
;
Undocumented in source.
toType
enum
toType
;
Undocumented in source.
Meta
Source
See Implementation
graphql
helper
enums
JoinJsonPrecedence
functions
accessNN
dToString
dataIsEmpty
dataIsNull
dtToString
extract
firstCharUpperCase
getTypename
getWithDefault
getWithPath
hasPathTo
insertError
insertPayload
isScalar
joinJson
jsonTo
lexAndParse
returnTemplate
stringToDT
stringTypeStrip
toGraphqlJson
manifest constants
d
e
structs
PathElement
StringTypeStrip
templates
isClass
isNotInTypeSet
toType