In the FirstPosition function documentation, this:
FirstPosition[list,pattern,{1},Heads->False] finds positions only of objects that appear as complete elements of list.
should read something like
FirstPosition[list,pattern,Nothing,{1},Heads->False]
because the third argument to FirstPosition is default
, not levelspec
. It seems the current text was just copied over from the Position docs.