Evaluates to True on the first line of the file. If the first line is blank and blanks are skipped firstline() never fires.
Optionally, takes a function argument that is evaluated if firstline() matches
| Data signatures |
|---|
| firstline( [eval this: |
| Call signatures |
|---|
| firstline( [eval this: Function ǁ Equality] ) |
| Purpose | Value |
|---|---|
| Main focus | firstline() determines if lines match |
| Aliases | firstline, first_line |
| Context | Qualifier |
|---|---|
| Match qualifiers | onmatch |
| Value qualifiers | onmatch |