Documentation

includes()

Validates that the string contains the specified substring.

includes(str: string, error?: StringConvertible): this;

Parameters

Return value

This builder, for chaining.

Related