code: func (l *State) IsNumber(index int) bool {
  	_, ok := l.toNumber(l.indexToValue(index))
  	return ok
  }
docs: // IsNumber verifies that the value at index is a number.
  //
  // http://www.lua.org/manual/5.2/manual.html#lua_isnumber