mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Tweaks for Hash#has_value?
This commit is contained in:
parent
a4a6019550
commit
4e3bc65e88
Notes:
git
2025-03-29 21:04:49 +00:00
1 changed files with 3 additions and 2 deletions
5
hash.c
5
hash.c
|
@ -3890,9 +3890,10 @@ rb_hash_search_value(VALUE key, VALUE value, VALUE arg)
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* has_value?(value) -> true or false
|
* has_value?(value) -> true or false
|
||||||
* value?(value) -> true or false
|
|
||||||
*
|
*
|
||||||
* Returns +true+ if +value+ is a value in +self+, otherwise +false+.
|
* Returns whether +value+ is a value in +self+.
|
||||||
|
*
|
||||||
|
* Related: {Methods for Querying}[rdoc-ref:Hash@Methods+for+Querying].
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue