diff --git a/array.go b/array.go index 10f036f..6917c7b 100644 --- a/array.go +++ b/array.go @@ -5,13 +5,15 @@ import ( ) // First() reduces the set of matched elements to the first in the set. -// It returns a new Selection object. +// It returns a new Selection object, and an empty Selection object if the +// the selection is empty. func (this *Selection) First() *Selection { return this.Eq(0) } // Last() reduces the set of matched elements to the last in the set. -// It returns a new Selection object. +// It returns a new Selection object, and an empty Selection object if +// the selection is empty. func (this *Selection) Last() *Selection { return this.Eq(-1) }