Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Array/count-i.ri
Arrière
U:RDoc::AnyMethod[iI" count:ETI"Array#count;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"$Returns the number of elements.;To:RDoc::Markup::BlankLine o; ; [I"NIf an argument is given, counts the number of elements which equal +obj+ ;TI"using <code>==</code>.;T@o; ; [I"LIf a block is given, counts the number of elements for which the block ;TI"returns a true value.;T@o:RDoc::Markup::Verbatim; [ I"ary = [1, 2, 4, 2] ;TI"&ary.count #=> 4 ;TI"&ary.count(2) #=> 2 ;TI"%ary.count { |x| x%2 == 0 } #=> 3;T:@format0: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"nary.count -> int ary.count(obj) -> int ary.count { |item| block } -> int ;T0[ I" (p1);T@FI" Array;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.01 |
proxy
|
phpinfo
|
Réglages