// No determines if a specific word is a "No" response. For example, "nah"
// returns true.
434137
func No(s string) bool {
	s = strings.ToLower(s)
	_, ok := no[s]
	return ok
}
211222
func (e BooleanResponse) Error() error {
	if !e.Success {
		return fmt.Errorf("API error: %s", e.DisplayText)
	}

	return nil
}
1316344
func (t Result) Less(token Result, caseSensitive bool) bool {
	if t.Type < token.Type {
		return true
	}
	if t.Type > token.Type {
		return false
	}
	if t.Type == String {
		if caseSensitive {
			return t.Str < token.Str
		}
		return stringLessInsensitive(t.Str, token.Str)
	}
	if t.Type == Number {
		return t.Num < token.Num
	}
	return t.Raw < token.Raw
}
1243102
func (v *Value) negate() {
	switch v.vType {
	case typeFloat:
		v.value = -(v.value.(float64))
	case typeInt:
		v.value = -(v.value.(int64))
	}
}
425945
func Not(left Expression, right Expression) Expression {
	return reparent(&NotExpression{binaryExpression{expression{}, left, right}})
}
1368975
func (notNull NotNull) Or(conds ...Cond) Cond {
	return Or(notNull, Or(conds...))
}
409538
func (x *Big) IsNaN(quiet int) bool {
	return quiet >= 0 && x.form&qnan == qnan || quiet <= 0 && x.form&snan == snan
}
418575
func (as ArraySpec) Neg() Input {
	return as.proc(func(i Input) Input {
		return i.Neg()
	})
}
325181
func (g *Group) None(path string, handler context.Handler) {
	g.Handle(router.MethodNone, path, handler)
}
274552
func (s *Selection) Not(selector string) *Selection {
	return s.NotMatcher(compileMatcher(selector))
}
296392
func (u *Ugen) Neg() Input {
	return unaryOpNeg(u.Rate, u, u.NumOutputs)
}
119729
func (c *Client) Noop() error {
	cmd := new(commands.Noop)

	status, err := c.execute(cmd, nil)
	if err != nil {
		return err
	}
	return status.Err()
}
579012
func Not(r ReqCondition) ReqConditionFunc {
	return func(req *http.Request, ctx *ProxyCtx) bool {
		return !r.HandleReq(req, ctx)
	}
}
29496
func (i Interval) Negate() Interval {
	if i.Diatonic == 0 && i.Chromatic == 0 {
		return Interval{-i.Octaves, i.Diatonic, i.Chromatic}
	}

	return Interval{-(i.Octaves + 1), inverseDiatonic(i.Diatonic), inverseChromatic(i.Chromatic)}
}
334651
func (r *Response) Error() string {
	if r.ResponseError != nil {
		return r.ResponseError.Error()
	}
	return ""
}
537072
func (o *OnlyExcept) Skip(n string) bool {
	if len(o.Only) > 0 {
		for _, v := range o.Only {
			if v == n {
				return false
			}
		}

		return true
	}

	if len(o.Except) > 0 {
		for _, v := range o.Except {
			if v == n {
				return true
			}
		}

		return false
	}

	return false
}
975693
func StatusIsNot(statuses ...int) StacktracePred {
	return func(status int) bool {
		for _, s := range statuses {
			if status == s {
				return false
			}
		}
		return true
	}
}