effect-io-ai

Package: effect
Module: String

String.includes

Returns true if searchString appears as a substring of self, at one or more positions that are greater than or equal to position; otherwise, returns false.

Signature

declare const includes: (searchString: string, position?: number) => (self: string) => boolean

Source

Since v2.0.0