# first

## Description
Returns the first element of a collection

## Parameters

<dl>
  <dt>coll</dt>
  <dd>Collection of values to be returned only the first one.</dd>
</dl>

## Examples

```php
<?php

use function Lambdish\Phunctional\first;

return first([1, 2, 3, 4, 5]);

// => 1
```
