UNPKG

rhine-var

Version:

Variables that support multi-user collaboration and persistence, making collaboration and variable operations as simple as possible, with strict and well-defined type hints.

47 lines 2.11 kB
import { NativeType } from "../../native/native-type.enum"; import RhineVarBase from "../rhine-var-base.class"; export default class RhineVarText extends RhineVarBase implements Iterable<string> { _type: NativeType.Text; value: string; length: number; json(): string; insert(index: number, value: string): number; delete(index: number, length: number): number; clear(): void; at(index: number): string; charAt(index: number): string; charCodeAt(index: number): number; codePointAt(index: number): number | undefined; concat(...strings: string[]): string; endsWith(searchString: string, endPosition?: number): boolean; includes(searchString: string, position?: number): boolean; indexOf(searchValue: string, fromIndex?: number): number; isWellFormed(): boolean; lastIndexOf(searchValue: string, fromIndex?: number): number; localeCompare(compareString: string, locales?: string | string[], options?: any): number; match(regexp: RegExp): RegExpMatchArray | null; matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>; normalize(form?: 'NFC' | 'NFD' | 'NFKC' | 'NFKD'): string; padEnd(targetLength: number, padString?: string): string; padStart(targetLength: number, padString?: string): string; repeat(count: number): string; replace(searchValue: string | RegExp, replaceValue: string): string; replaceAll(searchValue: string | RegExp, replaceValue: string): string; search(regexp: RegExp): number; slice(start: number, end?: number): string; split(separator: string | RegExp, limit?: number): string[]; startsWith(searchString: string, position?: number): boolean; substring(start: number, end?: number): string; toLocaleLowerCase(): string; toLocaleUpperCase(): string; toLowerCase(): string; toString(): string; toUpperCase(): string; toWellFormed(): string; trim(): string; trimEnd(): string; trimStart(): string; valueOf(): string; [Symbol.iterator](): IterableIterator<string>; } //# sourceMappingURL=rhine-var-text.class.d.ts.map