ifBlank<S extends string> method
- S newString
Return this
if not blank. Otherwise return newString
.
Implementation
S ifBlank<S extends string>(S newString) => asIf((s) => (s ?? "").isNotBlank, this, newString) as S;
Return this
if not blank. Otherwise return newString
.
S ifBlank<S extends string>(S newString) => asIf((s) => (s ?? "").isNotBlank, this, newString) as S;