Documentation

startsWith()

Validates that the string starts with the specified prefix.

startsWith(prefix: string, error?: StringConvertible): this;

Parameters

Return value

This builder, for chaining.

Related