bc-string v1.4.0 (2023-05-15T21:45:08Z)
Dub
Repo
dedent.dedent
bc
string
string
dedent
Undocumented in source.
enum
dedent
;
enum
dedent
;
enum
dedent
;
template
dedent
(alias str)
nothrow @
nogc
static if
(!(
!line.length
))
static if
(!(
(stripped.length == 1 && stripped[0] == '\n') || (stripped.length == 2 && stripped[0] == '\r' && stripped[1] == '\n')
))
static if
(
shortest == 0
)
enum
dedent
=
str
;
enum
dedent
;
Meta
Source
See Source File
bc
string
string
dedent
manifest constants
dedent
line
shortest
stripped
static functions
getLine
stripWS
templates
dedentNext
shortestIndent