Signature: startsWith(s: string, prefix: string) -> bool

Description: True if s begins with prefix.

Parameters

Returns: bool

Example

startsWith("GET /api", "GET ")  // true