pegged v0.4.6 (2022-05-10T15:31:31Z)
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