Primitive
string.includes
BETAShort name: includes
Version: 1.0.0
Check whether text includes, starts with, or ends with search text.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| mode | string | false | Search mode: "includes", "startsWith", or "endsWith". Defaults to "includes". |
| search | string | true | Search term. |
| text | string | true | Input text to search. |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| result | boolean | false | Whether the match condition passed. |