func (q Query) SkipWhile(f func(T) (bool, error)) (r Query) {
	n, err := q.findWhileTerminationIndex(f)
	if err != nil {
		r.err = err
		return
	}
	return q.Skip(n)
}
// SkipWhile returns a new query with original sequence bypassed
// as long as a provided predicate is true and then takes the
// remaining elements.
//
// Example:
// 	arr, err := From([]int{40,10,50,60,100})
// 		.OrderInts()
//		.SkipWhile(func (i T)(bool, error){
//			return i.(int) < 50, nil
// 		}).Results()
//	if err == nil {
//		// arr will be 50, 60, 100
// 	}
SkipWhile returns a new query with original sequence bypassed
as long as a provided predicate is true and then takes the
remaining elements.


// SkipWhile returns a new query with original sequence bypassed // as long as a provided predicate is true and then takes the // remaining elements . // // Example : // arr err : = From ( [] int { 40 10 50 60 100 } ) // . OrderInts () // . SkipWhile ( func ( i T ) ( bool error ) { // return i . ( int ) < 50 nil // } ) . Results () // if err == nil { // // arr will be 50 60 100 // }
func (q Query) SkipWhile(f func(T) (bool, error)) (r Query) {
	n, err := q.findWhileTerminationIndex(f)
	if err != nil {
		r.err = err
		return
	}
	return q.Skip(n)
}
func ( q Query ) SkipWhile ( f func ( T ) ( bool , error ) ) ( r Query ) { n , err := q . findWhileTerminationIndex ( f ) if err != nil { r . err = err return } return q . Skip ( n ) }
SkipWhile returns a new query with original sequence bypassed
as long as a provided predicate is true and then takes the
remaining elements.
SkipWhile returns a new query with original sequence bypassed as long as a provided predicate is true and then takes the remaining elements .