String
string() indicates that a value must be a string to be valid. All CSV
values start as strings so this function can be expected to return
True unless there is a notnone or length constraint
violation.
To set a min length without setting a max length use a none() argument
for max. E.g. to set a string of length greater than or equal to 5 do:
string(none(), 5).
| Data signatures |
| string( value: $${\color{green}str}$$ ǁ $${\color{green}None}$$ ǁ '', [max len: $${\color{green}int}$$], [min len: $${\color{green}int}$$] ) |
| Purpose |
Value |
| Main focus |
string() determines if lines match |
| Type |
String is a line() schema type |
[Back to index]