elasticsearch-ruby

https://github.com/elastic/elasticsearch-ruby

Ruby

Ruby integrations for Elasticsearch

JS#typeof

Use typeof to return the underlying javascript type of value.
Note that for undefined values, this will not work exactly like
the javascript typeof operator, as the argument is evaluated before
the function call.

Source | Google | Stack overflow

Edit

git clone [email protected]:elastic/elasticsearch-ruby.git

cd elasticsearch-ruby

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-JS-typeof-for-pr


# Commit to git

git add git commit -m "better docs for JS#typeof"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-JS-typeof-for-pr

hub pull-request


# Celebrate!