String
Check if the input value is a string.
The validation rule requires a value to run against the input value.
Example
src/app/posts/controllers/create-post.ts
// ...
createPost.validation = {
rules: {
title: ["required", "string"],
},
};