automapper ~master (2019-01-24T20:09:57Z)
Dub
Repo
findOrDefault
automapper
meta
Find a type matching a criteria or return default
package
template
findOrDefault (
alias
Criteria
Default
T
...
) {
alias
Found
=
Filter
!(
Criteria
,
T
)
;
alias
findOrDefault
=
Found
[
0
]
;
alias
findOrDefault
=
Default
;
}
Members
Aliases
Found
alias
Found
=
Filter
!(
Criteria
,
T
)
Undocumented in source.
findOrDefault
alias
findOrDefault
=
Found
[
0
]
Undocumented in source.
findOrDefault
alias
findOrDefault
=
Default
Undocumented in source.
Meta
Source
See Implementation
automapper
meta
functions
GetMember
splitOnCase
templates
Alias
ClassMembers
FlattenedMembers
MemberType
findOrDefault
hasNestedMember
hasSpecifiedCallable
isClass
isClassOrStruct
isPublicMember
isSpecifiedCallable
onlyOneExists
Find a type matching a criteria or return default