We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
string.byte
@tupleReturn
1 parent 09972f9 commit 70abb1eCopy full SHA for 70abb1e
core/string.d.ts
@@ -25,7 +25,9 @@ declare namespace string {
25
*
26
* Numeric codes are not necessarily portable across platforms.
27
*/
28
- function byte(s: string, i?: number, j?: number): number;
+ function byte(s: string, i?: number): number;
29
+ /** @tupleReturn */
30
+ function byte(s: string, i?: number, j?: number): number[];
31
32
/**
33
* Receives zero or more integers. Returns a string with length equal to the
0 commit comments