startsWith

Checks if range starts with a given element.

  1. bool startsWith(A range, B elem)
    bool
    startsWith
    (
    A
    B
    )
    (,)
    if ()
  2. bool startsWith(A range, B subrange)

Parameters

range A

The range of values to check if starts with elem.

elem B

The element to check if range starts with.

Return Value

Type: bool

True if range starts with elem.

Meta