<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [com-tools](./com-tools.md) &gt; [includesStrings](./com-tools.includesstrings.md)

## includesStrings() function

判断 includes 中是否存在 str 包含的字符串

**Signature:**

```typescript
export declare function includesStrings(str: string, includes: string[]): boolean;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

str


</td><td>

string


</td><td>


</td></tr>
<tr><td>

includes


</td><td>

string\[\]


</td><td>


</td></tr>
</tbody></table>
**Returns:**

boolean


