repl.txt (23205B)
1 2 {{alias}}() 3 A typed array constructor which returns a typed array representing an array 4 of double-precision floating-point numbers in the platform byte order. 5 6 Returns 7 ------- 8 out: Float64Array 9 A typed array. 10 11 Examples 12 -------- 13 > var arr = new {{alias}}() 14 <Float64Array> 15 16 17 {{alias}}( length ) 18 Returns a typed array having a specified length. 19 20 Parameters 21 ---------- 22 length: integer 23 Typed array length. 24 25 Returns 26 ------- 27 out: Float64Array 28 A typed array. 29 30 Examples 31 -------- 32 > var arr = new {{alias}}( 5 ) 33 <Float64Array>[ 0.0, 0.0, 0.0, 0.0, 0.0 ] 34 35 36 {{alias}}( typedarray ) 37 Creates a typed array from another typed array. 38 39 Parameters 40 ---------- 41 typedarray: TypedArray 42 Typed array from which to generate another typed array. 43 44 Returns 45 ------- 46 out: Float64Array 47 A typed array. 48 49 Examples 50 -------- 51 > var arr1 = new {{alias:@stdlib/array/float32}}( [ 0.5, 0.5, 0.5 ] ); 52 > var arr2 = new {{alias}}( arr1 ) 53 <Float64Array>[ 0.5, 0.5, 0.5 ] 54 55 56 {{alias}}( obj ) 57 Creates a typed array from an array-like object or iterable. 58 59 Parameters 60 ---------- 61 obj: Object 62 Array-like object or iterable from which to generate a typed array. 63 64 Returns 65 ------- 66 out: Float64Array 67 A typed array. 68 69 Examples 70 -------- 71 > var arr1 = [ 0.5, 0.5, 0.5 ]; 72 > var arr2 = new {{alias}}( arr1 ) 73 <Float64Array>[ 0.5, 0.5, 0.5 ] 74 75 76 {{alias}}( buffer[, byteOffset[, length]] ) 77 Returns a typed array view of an ArrayBuffer. 78 79 Parameters 80 ---------- 81 buffer: ArrayBuffer 82 Underlying ArrayBuffer. 83 84 byteOffset: integer (optional) 85 Integer byte offset specifying the location of the first typed array 86 element. Default: 0. 87 88 length: integer (optional) 89 View length. If not provided, the view spans from the byteOffset to 90 the end of the underlying ArrayBuffer. 91 92 Returns 93 ------- 94 out: Float64Array 95 A typed array. 96 97 Examples 98 -------- 99 > var buf = new {{alias:@stdlib/array/buffer}}( 32 ); 100 > var arr = new {{alias}}( buf, 0, 4 ) 101 <Float64Array>[ 0.0, 0.0, 0.0, 0.0 ] 102 103 104 {{alias}}.from( src[, map[, thisArg]] ) 105 Creates a new typed array from an array-like object or an iterable. 106 107 A callback is provided the following arguments: 108 109 - value: source value. 110 - index: source index. 111 112 Parameters 113 ---------- 114 src: ArrayLike|Iterable 115 Source of array elements. 116 117 map: Function (optional) 118 Callback to invoke for each source element. 119 120 thisArg: Any (optional) 121 Callback execution context. 122 123 Returns 124 ------- 125 out: Float64Array 126 A typed array. 127 128 Examples 129 -------- 130 > function mapFcn( v ) { return v * 2.0; }; 131 > var arr = {{alias}}.from( [ 1.0, -1.0 ], mapFcn ) 132 <Float64Array>[ 2.0, -2.0 ] 133 134 135 {{alias}}.of( element0[, element1[, ...elementN]] ) 136 Creates a new typed array from a variable number of arguments. 137 138 Parameters 139 ---------- 140 element0: number 141 Array element. 142 143 element1: number (optional) 144 Array element. 145 146 elementN: number (optional) 147 Array elements. 148 149 Returns 150 ------- 151 out: Float64Array 152 A typed array. 153 154 Examples 155 -------- 156 > var arr = {{alias}}.of( 2.0, -2.0 ) 157 <Float64Array>[ 2.0, -2.0 ] 158 159 160 {{alias}}.BYTES_PER_ELEMENT 161 Number of bytes per view element. 162 163 Examples 164 -------- 165 > {{alias}}.BYTES_PER_ELEMENT 166 8 167 168 169 {{alias}}.name 170 Typed array constructor name. 171 172 Examples 173 -------- 174 > {{alias}}.name 175 'Float64Array' 176 177 178 {{alias}}.prototype.buffer 179 Read-only property which returns the ArrayBuffer referenced by the typed 180 array. 181 182 Examples 183 -------- 184 > var arr = new {{alias}}( 5 ); 185 > arr.buffer 186 <ArrayBuffer> 187 188 189 {{alias}}.prototype.byteLength 190 Read-only property which returns the length (in bytes) of the typed array. 191 192 Examples 193 -------- 194 > var arr = new {{alias}}( 5 ); 195 > arr.byteLength 196 40 197 198 199 {{alias}}.prototype.byteOffset 200 Read-only property which returns the offset (in bytes) of the typed array 201 from the start of its ArrayBuffer. 202 203 Examples 204 -------- 205 > var arr = new {{alias}}( 5 ); 206 > arr.byteOffset 207 0 208 209 210 {{alias}}.prototype.BYTES_PER_ELEMENT 211 Number of bytes per view element. 212 213 Examples 214 -------- 215 > var arr = new {{alias}}( 5 ); 216 > arr.BYTES_PER_ELEMENT 217 8 218 219 220 {{alias}}.prototype.length 221 Read-only property which returns the number of view elements. 222 223 Examples 224 -------- 225 > var arr = new {{alias}}( 5 ); 226 > arr.length 227 5 228 229 230 {{alias}}.prototype.copyWithin( target, start[, end] ) 231 Copies a sequence of elements within the array starting at `start` and 232 ending at `end` (non-inclusive) to the position starting at `target`. 233 234 Parameters 235 ---------- 236 target: integer 237 Target start index position. 238 239 start: integer 240 Source start index position. 241 242 end: integer (optional) 243 Source end index position. Default: out.length. 244 245 Returns 246 ------- 247 out: Float64Array 248 Modified array. 249 250 Examples 251 -------- 252 > var arr = new {{alias}}( [ 2.0, -2.0, 1.0, -1.0, 1.0 ] ); 253 > arr.copyWithin( 3, 0, 2 ); 254 > arr[ 3 ] 255 2.0 256 > arr[ 4 ] 257 -2.0 258 259 260 {{alias}}.prototype.entries() 261 Returns an iterator for iterating over array key-value pairs. 262 263 Returns 264 ------- 265 iter: Iterator 266 Iterator for iterating over array key-value pairs. 267 268 Examples 269 -------- 270 > var arr = new {{alias}}( [ 1.0, -1.0 ] ); 271 > it = arr.entries(); 272 > it.next().value 273 [ 0, 1.0 ] 274 > it.next().value 275 [ 1, -1.0 ] 276 > it.next().done 277 true 278 279 280 {{alias}}.prototype.every( predicate[, thisArg] ) 281 Tests whether all array elements pass a test implemented by a predicate 282 function. 283 284 A predicate function is provided the following arguments: 285 286 - value: array element. 287 - index: array index. 288 - arr: array on which the method is invoked. 289 290 Parameters 291 ---------- 292 predicate: Function 293 Predicate function which tests array elements. If a predicate function 294 returns a truthy value, an array element passes; otherwise, an array 295 element fails. 296 297 thisArg: Any (optional) 298 Callback execution context. 299 300 Returns 301 ------- 302 bool: boolean 303 Boolean indicating whether all array elements pass. 304 305 Examples 306 -------- 307 > var arr = new {{alias}}( [ 1.0, -1.0 ] ); 308 > function predicate( v ) { return ( v >= 0.0 ); }; 309 > arr.every( predicate ) 310 false 311 312 313 {{alias}}.prototype.fill( value[, start[, end]] ) 314 Fills an array from a start index to an end index (non-inclusive) with a 315 provided value. 316 317 Parameters 318 ---------- 319 value: number 320 Fill value. 321 322 start: integer (optional) 323 Start index. If less than zero, the start index is resolved relative to 324 the last array element. Default: 0. 325 326 end: integer (optional) 327 End index (non-inclusive). If less than zero, the end index is resolved 328 relative to the last array element. Default: out.length. 329 330 Returns 331 ------- 332 out: Float64Array 333 Modified array. 334 335 Examples 336 -------- 337 > var arr = new {{alias}}( [ 1.0, -1.0 ] ); 338 > arr.fill( 2.0 ); 339 > arr[ 0 ] 340 2.0 341 > arr[ 1 ] 342 2.0 343 344 345 {{alias}}.prototype.filter( predicate[, thisArg] ) 346 Creates a new array which includes those elements for which a predicate 347 function returns a truthy value. 348 349 A predicate function is provided the following arguments: 350 351 - value: array element. 352 - index: array index. 353 - arr: array on which the method is invoked. 354 355 The returned array has the same data type as the host array. 356 357 If a predicate function does not return a truthy value for any array 358 element, the method returns `null`. 359 360 Parameters 361 ---------- 362 predicate: Function 363 Predicate function which filters array elements. If a predicate function 364 returns a truthy value, an array element is included in the output 365 array; otherwise, an array element is not included in the output array. 366 367 thisArg: Any (optional) 368 Callback execution context. 369 370 Returns 371 ------- 372 out: Float64Array 373 A typed array. 374 375 Examples 376 -------- 377 > var arr1 = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 378 > function predicate( v ) { return ( v >= 0.0 ); }; 379 > var arr2 = arr1.filter( predicate ); 380 > arr2.length 381 2 382 383 384 {{alias}}.prototype.find( predicate[, thisArg] ) 385 Returns the first array element for which a provided predicate function 386 returns a truthy value. 387 388 A predicate function is provided the following arguments: 389 390 - value: array element. 391 - index: array index. 392 - arr: array on which the method is invoked. 393 394 If a predicate function never returns a truthy value, the method returns 395 `undefined`. 396 397 Parameters 398 ---------- 399 predicate: Function 400 Predicate function which tests array elements. 401 402 thisArg: Any (optional) 403 Callback execution context. 404 405 Returns 406 ------- 407 value: number|undefined 408 Array element. 409 410 Examples 411 -------- 412 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 413 > function predicate( v ) { return ( v < 0.0 ); }; 414 > var v = arr.find( predicate ) 415 -1.0 416 417 418 {{alias}}.prototype.findIndex( predicate[, thisArg] ) 419 Returns the index of the first array element for which a provided predicate 420 function returns a truthy value. 421 422 A predicate function is provided the following arguments: 423 424 - value: array element. 425 - index: array index. 426 - arr: array on which the method is invoked. 427 428 If a predicate function never returns a truthy value, the method returns 429 `-1`. 430 431 Parameters 432 ---------- 433 predicate: Function 434 Predicate function which tests array elements. 435 436 thisArg: Any (optional) 437 Callback execution context. 438 439 Returns 440 ------- 441 idx: integer 442 Array index. 443 444 Examples 445 -------- 446 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 447 > function predicate( v ) { return ( v < 0.0 ); }; 448 > var idx = arr.findIndex( predicate ) 449 2 450 451 452 {{alias}}.prototype.forEach( fcn[, thisArg] ) 453 Invokes a callback for each array element. 454 455 A provided function is provided the following arguments: 456 457 - value: array element. 458 - index: array index. 459 - arr: array on which the method is invoked. 460 461 Parameters 462 ---------- 463 fcn: Function 464 Function to invoke for each array element. 465 466 thisArg: Any (optional) 467 Callback execution context. 468 469 Examples 470 -------- 471 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 472 > var str = ' '; 473 > function fcn( v, i ) { str += i + ':' + v + ' '; }; 474 > arr.forEach( fcn ); 475 > str 476 ' 0:1 1:0 2:-1 ' 477 478 479 {{alias}}.prototype.includes( searchElement[, fromIndex] ) 480 Returns a boolean indicating whether an array includes a search element. 481 482 The method does not distinguish between signed and unsigned zero. 483 484 Parameters 485 ---------- 486 searchElement: number 487 Search element. 488 489 fromIndex: integer (optional) 490 Array index from which to begin searching. If provided a negative value, 491 the method resolves the start index relative to the last array element. 492 Default: 0. 493 494 Returns 495 ------- 496 bool: boolean 497 Boolean indicating whether an array includes a search element. 498 499 Examples 500 -------- 501 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 502 > var bool = arr.includes( 2.0 ) 503 false 504 > bool = arr.includes( -1.0 ) 505 true 506 507 508 {{alias}}.prototype.indexOf( searchElement[, fromIndex] ) 509 Returns the index of the first array element strictly equal to a search 510 element. 511 512 The method does not distinguish between signed and unsigned zero. 513 514 If unable to locate a search element, the method returns `-1`. 515 516 Parameters 517 ---------- 518 searchElement: number 519 Search element. 520 521 fromIndex: integer (optional) 522 Array index from which to begin searching. If provided a negative value, 523 the method resolves the start index relative to the last array element. 524 Default: 0. 525 526 Returns 527 ------- 528 idx: integer 529 Array index. 530 531 Examples 532 -------- 533 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 534 > var idx = arr.indexOf( 2.0 ) 535 -1 536 > idx = arr.indexOf( -1.0 ) 537 2 538 539 540 {{alias}}.prototype.join( [separator] ) 541 Serializes an array by joining all array elements as a string. 542 543 Parameters 544 ---------- 545 separator: string (optional) 546 String delineating array elements. Default: ','. 547 548 Returns 549 ------- 550 str: string 551 Array serialized as a string. 552 553 Examples 554 -------- 555 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 556 > arr.join( '|' ) 557 '1|0|-1' 558 559 560 {{alias}}.prototype.keys() 561 Returns an iterator for iterating over array keys. 562 563 Returns 564 ------- 565 iter: Iterator 566 Iterator for iterating over array keys. 567 568 Examples 569 -------- 570 > var arr = new {{alias}}( [ 1.0, -1.0 ] ); 571 > it = arr.keys(); 572 > it.next().value 573 0 574 > it.next().value 575 1 576 > it.next().done 577 true 578 579 580 {{alias}}.prototype.lastIndexOf( searchElement[, fromIndex] ) 581 Returns the index of the last array element strictly equal to a search 582 element. 583 584 The method iterates from the last array element to the first array element. 585 586 The method does not distinguish between signed and unsigned zero. 587 588 If unable to locate a search element, the method returns `-1`. 589 590 Parameters 591 ---------- 592 searchElement: number 593 Search element. 594 595 fromIndex: integer (optional) 596 Array index from which to begin searching. If provided a negative value, 597 the method resolves the start index relative to the last array element. 598 Default: -1. 599 600 Returns 601 ------- 602 idx: integer 603 array index. 604 605 Examples 606 -------- 607 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0, 0.0, 1.0 ] ); 608 > var idx = arr.lastIndexOf( 2.0 ) 609 -1 610 > idx = arr.lastIndexOf( 0.0 ) 611 3 612 613 614 {{alias}}.prototype.map( fcn[, thisArg] ) 615 Maps each array element to an element in a new typed array. 616 617 A provided function is provided the following arguments: 618 619 - value: array element. 620 - index: array index. 621 - arr: array on which the method is invoked. 622 623 The returned array has the same data type as the host array. 624 625 Parameters 626 ---------- 627 fcn: Function 628 Function which maps array elements to elements in the new array. 629 630 thisArg: Any (optional) 631 Callback execution context. 632 633 Returns 634 ------- 635 out: Float64Array 636 A typed array. 637 638 Examples 639 -------- 640 > var arr1 = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 641 > function fcn( v ) { return v * 2.0; }; 642 > var arr2 = arr1.map( fcn ); 643 <Float64Array>[ 2.0, 0.0, -2.0 ] 644 645 646 {{alias}}.prototype.reduce( fcn[, initialValue] ) 647 Applies a function against an accumulator and each element in an array and 648 returns the accumulated result. 649 650 The provided function is provided the following arguments: 651 652 - acc: accumulated result. 653 - value: current array element. 654 - index: index of the current array element. 655 - arr: array on which the method is invoked. 656 657 If provided an initial value, the method invokes a provided function with 658 the initial value as the first argument and the first array element as the 659 second argument. 660 661 If not provided an initial value, the method invokes a provided function 662 with the first array element as the first argument and the second array 663 element as the second argument. 664 665 Parameters 666 ---------- 667 fcn: Function 668 Function to apply. 669 670 initialValue: Any (optional) 671 Initial accumulation value. 672 673 Returns 674 ------- 675 out: Any 676 Accumulated result. 677 678 Examples 679 -------- 680 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 681 > function fcn( acc, v ) { return acc + (v*v); }; 682 > var v = arr.reduce( fcn, 0.0 ) 683 2.0 684 685 686 {{alias}}.prototype.reduceRight( fcn[, initialValue] ) 687 Applies a function against an accumulator and each element in an array and 688 returns the accumulated result, iterating from right to left. 689 690 The provided function is provided the following arguments: 691 692 - acc: accumulated result. 693 - value: current array element. 694 - index: index of the current array element. 695 - arr: array on which the method is invoked. 696 697 If provided an initial value, the method invokes a provided function with 698 the initial value as the first argument and the last array element as the 699 second argument. 700 701 If not provided an initial value, the method invokes a provided function 702 with the last array element as the first argument and the second-to-last 703 array element as the second argument. 704 705 Parameters 706 ---------- 707 fcn: Function 708 Function to apply. 709 710 initialValue: Any (optional) 711 Initial accumulation value. 712 713 Returns 714 ------- 715 out: Any 716 Accumulated result. 717 718 Examples 719 -------- 720 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 721 > function fcn( acc, v ) { return acc + (v*v); }; 722 > var v = arr.reduceRight( fcn, 0.0 ) 723 2.0 724 725 726 {{alias}}.prototype.reverse() 727 Reverses an array *in-place*. 728 729 This method mutates the array on which the method is invoked. 730 731 Returns 732 ------- 733 out: Float64Array 734 Modified array. 735 736 Examples 737 -------- 738 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ) 739 <Float64Array>[ 1.0, 0.0, -1.0 ] 740 > arr.reverse() 741 <Float64Array>[ -1.0, 0.0, 1.0 ] 742 743 744 {{alias}}.prototype.set( arr[, offset] ) 745 Sets array elements. 746 747 Parameters 748 ---------- 749 arr: ArrayLike 750 Source array containing array values to set. 751 752 offset: integer (optional) 753 Array index at which to start writing values. Default: 0. 754 755 Examples 756 -------- 757 > var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 758 > arr.set( [ -2.0, 2.0 ], 1 ); 759 > arr[ 1 ] 760 -2.0 761 > arr[ 2 ] 762 2.0 763 764 765 {{alias}}.prototype.slice( [begin[, end]] ) 766 Copies array elements to a new array with the same underlying data type as 767 the host array. 768 769 If the method is unable to resolve indices to a non-empty array subsequence, 770 the method returns `null`. 771 772 Parameters 773 ---------- 774 begin: integer (optional) 775 Start element index (inclusive). If less than zero, the start index is 776 resolved relative to the last array element. Default: 0. 777 778 end: integer (optional) 779 End element index (exclusive). If less than zero, the end index is 780 resolved relative to the last array element. Default: arr.length. 781 782 Returns 783 ------- 784 out: Float64Array 785 A typed array. 786 787 Examples 788 -------- 789 > var arr1 = new {{alias}}( [ 1.0, 0.0, -1.0 ] ); 790 > var arr2 = arr1.slice( 1 ); 791 > arr2.length 792 2 793 > arr2[ 0 ] 794 0.0 795 > arr2[ 1 ] 796 -1.0 797 798 799 {{alias}}.prototype.some( predicate[, thisArg] ) 800 Tests whether at least one array element passes a test implemented by a 801 predicate function. 802 803 A predicate function is provided the following arguments: 804 805 - value: array element. 806 - index: array index. 807 - arr: array on which the method is invoked. 808 809 Parameters 810 ---------- 811 predicate: Function 812 Predicate function which tests array elements. If a predicate function 813 returns a truthy value, a array element passes; otherwise, an array 814 element fails. 815 816 thisArg: Any (optional) 817 Callback execution context. 818 819 Returns 820 ------- 821 bool: boolean 822 Boolean indicating whether at least one array element passes. 823 824 Examples 825 -------- 826 > var arr = new {{alias}}( [ 1.0, -1.0 ] ); 827 > function predicate( v ) { return ( v < 0.0 ); }; 828 > arr.some( predicate ) 829 true 830 831 832 {{alias}}.prototype.sort( [compareFunction] ) 833 Sorts an array *in-place*. 834 835 The comparison function is provided two array elements per invocation: `a` 836 and `b`. 837 838 The comparison function return value determines the sort order as follows: 839 840 - If the comparison function returns a value less than zero, then the method 841 sorts `a` to an index lower than `b` (i.e., `a` should come *before* `b`). 842 843 - If the comparison function returns a value greater than zero, then the 844 method sorts `a` to an index higher than `b` (i.e., `b` should come *before* 845 `a`). 846 847 - If the comparison function returns zero, then the relative order of `a` 848 and `b` should remain unchanged. 849 850 This method mutates the array on which the method is invoked. 851 852 Parameters 853 ---------- 854 compareFunction: Function (optional) 855 Function which specifies the sort order. The default sort order is 856 ascending order. 857 858 Returns 859 ------- 860 out: Float64Array 861 Modified array. 862 863 Examples 864 -------- 865 > var arr = new {{alias}}( [ 1.0, -1.0, 0.0, 2.0, -2.0 ] ); 866 > arr.sort() 867 <Float64Array>[ -2.0, -1.0, 0.0, 1.0, 2.0 ] 868 869 870 {{alias}}.prototype.subarray( [begin[, end]] ) 871 Creates a new typed array over the same underlying ArrayBuffer and with the 872 same underlying data type as the host array. 873 874 If the method is unable to resolve indices to a non-empty array subsequence, 875 the method returns an empty typed array. 876 877 Parameters 878 ---------- 879 begin: integer (optional) 880 Start element index (inclusive). If less than zero, the start index is 881 resolved relative to the last array element. Default: 0. 882 883 end: integer (optional) 884 End element index (exclusive). If less than zero, the end index is 885 resolved relative to the last array element. Default: arr.length. 886 887 Returns 888 ------- 889 out: Float64Array 890 A new typed array view. 891 892 Examples 893 -------- 894 > var arr1 = new {{alias}}( [ 1.0, -1.0, 0.0, 2.0, -2.0 ] ); 895 > var arr2 = arr1.subarray( 2 ) 896 <Float64Array>[ 0.0, 2.0, -2.0 ] 897 898 899 {{alias}}.prototype.toLocaleString( [locales[, options]] ) 900 Serializes an array as a locale-specific string. 901 902 Parameters 903 ---------- 904 locales: string|Array<string> (optional) 905 A BCP 47 language tag, or an array of such tags. 906 907 options: Object (optional) 908 Options. 909 910 Returns 911 ------- 912 str: string 913 A typed array string representation. 914 915 Examples 916 -------- 917 > var arr = new {{alias}}( [ 1.0, -1.0, 0.0 ] ); 918 > arr.toLocaleString() 919 '1,-1,0' 920 921 922 {{alias}}.prototype.toString() 923 Serializes an array as a string. 924 925 Returns 926 ------- 927 str: string 928 A typed array string representation. 929 930 Examples 931 -------- 932 > var arr = new {{alias}}( [ 1.0, -1.0, 0.0 ] ); 933 > arr.toString() 934 '1,-1,0' 935 936 937 {{alias}}.prototype.values() 938 Returns an iterator for iterating over array elements. 939 940 Returns 941 ------- 942 iter: Iterator 943 Iterator for iterating over array elements. 944 945 Examples 946 -------- 947 > var arr = new {{alias}}( [ 1.0, -1.0 ] ); 948 > it = arr.values(); 949 > it.next().value 950 1.0 951 > it.next().value 952 -1.0 953 > it.next().done 954 true 955 956 957 See Also 958 -------- 959