pegged v0.4.3 (2018-02-16T19:45:56Z)
Dub
Repo
isSubtype.isSubtype
pegged
examples
pattern
isSubtype
Undocumented in source.
enum
isSubtype
;
enum
isSubtype
;
template
isSubtype
(T...)
static if
(!(
T.length == 0
))
static if
(
is(T[0] : T[$ / 2])
)
enum
isSubtype
=
isSubtype
!(
T
[
1
..$ /
2
],
T
[$ /
2
+
1
..$])
;
enum
isSubtype
;
Meta
Source
See Source File
pegged
examples
pattern
isSubtype
manifest constants
isSubtype