dquery v0.1.3 (2015-07-04T22:24:23Z)
Dub
Repo
DQueryAttributes.firstOr
dquery
attributes
DQueryAttributes
Returns the first attribute in the query, or a fallback if empty.
struct
DQueryAttributes
(QueryType, Attributes...)
@
property
static
auto
firstOr
(
alias
Fallback
)
(
)
if
(
!
is
(
typeof
(
Fallback
) ==
void
)
)
Meta
Source
See Implementation
dquery
attributes
DQueryAttributes
aliases
attributes
empty
length
type
unique
properties
anyOf
first
firstOr
hasAllOf
hasAnyOf
hasNoneOf
noneOf
opCall
parent
templates
ensure
Returns the first attribute in the query, or a fallback if empty.