SudoSOS Back-end API / internal/spec/string-spec / nonZeroString
Function: nonZeroString() ​
ts
function nonZeroString(p):
| Fail<ValidationError>
| Pass<string>;Checks if the string attribute is not an empty string.
Parameters ​
| Parameter | Type |
|---|---|
p | string |
Returns ​
| Fail<ValidationError> | Pass<string>