StaticisReports whether a value is missing or contains only whitespace.
Optionalvalue: string
The value to test.
true when there is nothing meaningful in it.
StatictrimTrims a value that may not be there.
Optionalvalue: string
The value to trim.
The trimmed value, or an empty string when it was absent.
StatictruncateShortens a value to a maximum length.
The value to shorten.
Maximum number of characters to keep.
The value, cut to max characters.
String helpers used by the framework layer.
Remarks
Pure functions: no bindings, no configuration, no
Env. That is what makes them safe to call from anywhere incore/— including fromresolve's callers, where reaching for anything stateful would reintroduce the cycle the configuration layer avoids.Example
Author
Bayu Dwiyan Satria
Version
1.0.0
Since
1.0.0