Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.53 KB

File metadata and controls

29 lines (20 loc) · 1.53 KB

firstline()

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: $${\color{green}None}$$ ǁ $${\color{green}Any}$$] )
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

[Back to index]