mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-13 15:01:28 +00:00
Add String#lastIndexOf and improve tests (#163)
This commit is contained in:
3
std/assembly/index.d.ts
vendored
3
std/assembly/index.d.ts
vendored
@ -431,7 +431,8 @@ declare class String {
|
||||
charCodeAt(index: u32): u16;
|
||||
concat(other: string): string;
|
||||
endsWith(other: string): bool;
|
||||
indexOf(other: string): u32;
|
||||
indexOf(other: string, fromIndex?: i32): u32;
|
||||
lastIndexOf(other: string, fromIndex?: i32): i32;
|
||||
includes(other: string): bool;
|
||||
startsWith(other: string): bool;
|
||||
substr(start: u32, length?: u32): string;
|
||||
|
Reference in New Issue
Block a user