Skip to content

Documentation


Documentation / @blazetrails/activesupport / StringInquirer

Class: StringInquirer ​

Defined in: packages/activesupport/lib/string-inquirer.ts:8

Extends ​

  • String

Extended by ​

Indexable ​

[index: number]: string

Constructors ​

Constructor ​

new StringInquirer(value?): StringInquirer

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:533

Parameters ​

ParameterType
value?any

Returns ​

StringInquirer

Inherited from ​

String.constructor

Properties ​

length ​

readonly length: number

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:515

Returns the length of a String object.

Inherited from ​

String.length

Methods ​

[iterator]() ​

[iterator](): StringIterator<string>

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts:270

Iterator

Returns ​

StringIterator<string>

Inherited from ​

String.[iterator]


anchor() ​

anchor(name): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:461

Returns an <a> HTML anchor element and sets the name attribute to the text value

Parameters ​

ParameterType
namestring

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.anchor


at() ​

at(index): string | undefined

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts:22

Returns a new String consisting of the single UTF-16 code unit located at the specified index.

Parameters ​

ParameterTypeDescription
indexnumberThe zero-based index of the desired code unit. A negative index will count back from the last item.

Returns ​

string | undefined

Inherited from ​

String.at


big() ​

big(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:467

Returns a <big> HTML element

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.big


blink(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:473

Returns a <blink> HTML element

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.blink


bold() ​

bold(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:479

Returns a <b> HTML element

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.bold


charAt() ​

charAt(pos): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:416

Returns the character at the specified index.

Parameters ​

ParameterTypeDescription
posnumberThe zero-based index of the desired character.

Returns ​

string

Inherited from ​

String.charAt


charCodeAt() ​

charCodeAt(index): number

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:422

Returns the Unicode value of the character at the specified location.

Parameters ​

ParameterTypeDescription
indexnumberThe zero-based index of the desired character. If there is no character at the specified index, NaN is returned.

Returns ​

number

Inherited from ​

String.charCodeAt


codePointAt() ​

codePointAt(pos): number | undefined

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:408

Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point value of the UTF-16 encoded code point starting at the string element at position pos in the String resulting from converting this object to a String. If there is no element at that position, the result is undefined. If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.

Parameters ​

ParameterType
posnumber

Returns ​

number | undefined

Inherited from ​

String.codePointAt


concat() ​

concat(...strings): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:428

Returns a string that contains the concatenation of two or more strings.

Parameters ​

ParameterTypeDescription
...stringsstring[]The strings to append to the end of the string.

Returns ​

string

Inherited from ​

String.concat


endsWith() ​

endsWith(searchString, endPosition?): boolean

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:424

Returns true if the sequence of elements of searchString converted to a String is the same as the corresponding elements of this object (converted to a String) starting at endPosition – length(this). Otherwise returns false.

Parameters ​

ParameterType
searchStringstring
endPosition?number

Returns ​

boolean

Inherited from ​

String.endsWith


fixed() ​

fixed(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:485

Returns a <tt> HTML element

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.fixed


fontcolor() ​

fontcolor(color): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:491

Returns a <font> HTML element and sets the color attribute value

Parameters ​

ParameterType
colorstring

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.fontcolor


fontsize() ​

Call Signature ​

fontsize(size): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:497

Returns a <font> HTML element and sets the size attribute value

Parameters ​
ParameterType
sizenumber
Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.fontsize

Call Signature ​

fontsize(size): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:503

Returns a <font> HTML element and sets the size attribute value

Parameters ​
ParameterType
sizestring
Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.fontsize


includes() ​

includes(searchString, position?): boolean

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:417

Returns true if searchString appears as a substring of the result of converting this object to a String, at one or more positions that are greater than or equal to position; otherwise, returns false.

Parameters ​

ParameterTypeDescription
searchStringstringsearch string
position?numberIf position is undefined, 0 is assumed, so as to search all of the String.

Returns ​

boolean

Inherited from ​

String.includes


indexOf() ​

indexOf(searchString, position?): number

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:435

Returns the position of the first occurrence of a substring, or -1 if it is not present.

Parameters ​

ParameterTypeDescription
searchStringstringThe substring to search for in the string
position?numberThe index at which to begin searching the String object. If omitted, search starts at the beginning of the string.

Returns ​

number

Inherited from ​

String.indexOf


italics() ​

italics(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:509

Returns an <i> HTML element

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.italics


lastIndexOf() ​

lastIndexOf(searchString, position?): number

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:442

Returns the last occurrence of a substring in the string, or -1 if it is not present.

Parameters ​

ParameterTypeDescription
searchStringstringThe substring to search for.
position?numberThe index at which to begin searching. If omitted, the search begins at the end of the string.

Returns ​

number

Inherited from ​

String.lastIndexOf


link(url): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:515

Returns an <a> HTML element and sets the href attribute value

Parameters ​

ParameterType
urlstring

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.link


localeCompare() ​

Call Signature ​

localeCompare(that): number

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:448

Determines whether two strings are equivalent in the current locale.

Parameters ​
ParameterTypeDescription
thatstringString to compare to target string
Returns ​

number

Inherited from ​

String.localeCompare

Call Signature ​

localeCompare(that, locales?, options?): number

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:4567

Determines whether two strings are equivalent in the current or specified locale.

Parameters ​
ParameterTypeDescription
thatstringString to compare to target string
locales?string | string[]A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.
options?CollatorOptionsAn object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.
Returns ​

number

Inherited from ​

String.localeCompare

Call Signature ​

localeCompare(that, locales?, options?): number

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts:41

Determines whether two strings are equivalent in the current or specified locale.

Parameters ​
ParameterTypeDescription
thatstringString to compare to target string
locales?LocalesArgumentA locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.
options?CollatorOptionsAn object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.
Returns ​

number

Inherited from ​

String.localeCompare


match() ​

Call Signature ​

match(regexp): RegExpMatchArray | null

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:454

Matches a string with a regular expression, and returns an array containing the results of that search.

Parameters ​
ParameterTypeDescription
regexpstring | RegExpA variable name or string literal containing the regular expression pattern and flags.
Returns ​

RegExpMatchArray | null

Inherited from ​

String.match

Call Signature ​

match(matcher): RegExpMatchArray | null

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:239

Matches a string or an object that supports being matched against, and returns an array containing the results of that search, or null if no matches are found.

Parameters ​
ParameterTypeDescription
matcher{ [match]: RegExpMatchArray | null; }An object that supports being matched against.
matcher.[match]-
Returns ​

RegExpMatchArray | null

Inherited from ​

String.match


matchAll() ​

matchAll(regexp): RegExpStringIterator<RegExpExecArray>

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts:27

Matches a string with a regular expression, and returns an iterable of matches containing the results of that search.

Parameters ​

ParameterTypeDescription
regexpRegExpA regular expression

Returns ​

RegExpStringIterator<RegExpExecArray>

Inherited from ​

String.matchAll


normalize() ​

Call Signature ​

normalize(form): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:432

Returns the String value result of normalizing the string into the normalization form named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.

Parameters ​
ParameterTypeDescription
form"NFC" | "NFD" | "NFKC" | "NFKD"Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default is "NFC"
Returns ​

string

Inherited from ​

String.normalize

Call Signature ​

normalize(form?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:440

Returns the String value result of normalizing the string into the normalization form named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.

Parameters ​
ParameterTypeDescription
form?stringApplicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default is "NFC"
Returns ​

string

Inherited from ​

String.normalize


padEnd() ​

padEnd(maxLength, fillString?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts:42

Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length. The padding is applied from the end (right) of the current string.

Parameters ​

ParameterTypeDescription
maxLengthnumberThe length of the resulting string once the current string has been padded. If this parameter is smaller than the current string's length, the current string will be returned as it is.
fillString?stringThe string to pad the current string with. If this string is too long, it will be truncated and the left-most part will be applied. The default value for this parameter is " " (U+0020).

Returns ​

string

Inherited from ​

String.padEnd


padStart() ​

padStart(maxLength, fillString?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts:29

Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length. The padding is applied from the start (left) of the current string.

Parameters ​

ParameterTypeDescription
maxLengthnumberThe length of the resulting string once the current string has been padded. If this parameter is smaller than the current string's length, the current string will be returned as it is.
fillString?stringThe string to pad the current string with. If this string is too long, it will be truncated and the left-most part will be applied. The default value for this parameter is " " (U+0020).

Returns ​

string

Inherited from ​

String.padStart


repeat() ​

repeat(count): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:447

Returns a String value that is made from count copies appended together. If count is 0, the empty string is returned.

Parameters ​

ParameterTypeDescription
countnumbernumber of copies to append

Returns ​

string

Inherited from ​

String.repeat


replace() ​

Call Signature ​

replace(searchValue, replaceValue): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:461

Replaces text in a string, using a regular expression or search string.

Parameters ​
ParameterTypeDescription
searchValuestring | RegExpA string or regular expression to search for.
replaceValuestringA string containing the text to replace. When the searchValue is a RegExp, all matches are replaced if the g flag is set (or only those matches at the beginning, if the y flag is also present). Otherwise, only the first match of searchValue is replaced.
Returns ​

string

Inherited from ​

String.replace

Call Signature ​

replace(searchValue, replacer): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:468

Replaces text in a string, using a regular expression or search string.

Parameters ​
ParameterTypeDescription
searchValuestring | RegExpA string to search for.
replacer(substring, ...args) => stringA function that returns the replacement text.
Returns ​

string

Inherited from ​

String.replace

Call Signature ​

replace(searchValue, replaceValue): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:246

Passes a string and replaceValue to the [Symbol.replace] method on searchValue. This method is expected to implement its own replacement algorithm.

Parameters ​
ParameterTypeDescription
searchValue{ [replace]: string; }An object that supports searching for and replacing matches within a string.
searchValue.[replace]-
replaceValuestringThe replacement text.
Returns ​

string

Inherited from ​

String.replace

Call Signature ​

replace(searchValue, replacer): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:253

Replaces text in a string, using an object that supports replacement within a string.

Parameters ​
ParameterTypeDescription
searchValue{ [replace]: string; }A object can search for and replace matches within a string.
searchValue.[replace]-
replacer(substring, ...args) => stringA function that returns the replacement text.
Returns ​

string

Inherited from ​

String.replace


replaceAll() ​

Call Signature ​

replaceAll(searchValue, replaceValue): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts:23

Replace all instances of a substring in a string, using a regular expression or search string.

Parameters ​
ParameterTypeDescription
searchValuestring | RegExpA string to search for.
replaceValuestringA string containing the text to replace for every successful match of searchValue in this string.
Returns ​

string

Inherited from ​

String.replaceAll

Call Signature ​

replaceAll(searchValue, replacer): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts:30

Replace all instances of a substring in a string, using a regular expression or search string.

Parameters ​
ParameterTypeDescription
searchValuestring | RegExpA string to search for.
replacer(substring, ...args) => stringA function that returns the replacement text.
Returns ​

string

Inherited from ​

String.replaceAll


Call Signature ​

search(regexp): number

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:474

Finds the first substring match in a regular expression search.

Parameters ​
ParameterTypeDescription
regexpstring | RegExpThe regular expression pattern and applicable flags.
Returns ​

number

Inherited from ​

String.search

Call Signature ​

search(searcher): number

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:259

Finds the first substring match in a regular expression search.

Parameters ​
ParameterTypeDescription
searcher{ [search]: number; }An object which supports searching within a string.
searcher.[search]-
Returns ​

number

Inherited from ​

String.search


slice() ​

slice(start?, end?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:482

Returns a section of a string.

Parameters ​

ParameterTypeDescription
start?numberThe index to the beginning of the specified portion of stringObj.
end?numberThe index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end. If this value is not specified, the substring continues to the end of stringObj.

Returns ​

string

Inherited from ​

String.slice


small() ​

small(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:521

Returns a <small> HTML element

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.small


split() ​

Call Signature ​

split(separator, limit?): string[]

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:489

Split a string into substrings using the specified separator and return them as an array.

Parameters ​
ParameterTypeDescription
separatorstring | RegExpA string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.
limit?numberA value used to limit the number of elements returned in the array.
Returns ​

string[]

Inherited from ​

String.split

Call Signature ​

split(splitter, limit?): string[]

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:266

Split a string into substrings using the specified separator and return them as an array.

Parameters ​
ParameterTypeDescription
splitter{ [split]: string[]; }An object that can split a string.
splitter.[split]-
limit?numberA value used to limit the number of elements returned in the array.
Returns ​

string[]

Inherited from ​

String.split


startsWith() ​

startsWith(searchString, position?): boolean

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:454

Returns true if the sequence of elements of searchString converted to a String is the same as the corresponding elements of this object (converted to a String) starting at position. Otherwise returns false.

Parameters ​

ParameterType
searchStringstring
position?number

Returns ​

boolean

Inherited from ​

String.startsWith


strike() ​

strike(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:527

Returns a <strike> HTML element

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.strike


sub() ​

sub(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:533

Returns a <sub> HTML element

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.sub


substr() ​

substr(from, length?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:524

Gets a substring beginning at the specified location and having the specified length.

Parameters ​

ParameterTypeDescription
fromnumberThe starting position of the desired substring. The index of the first character in the string is zero.
length?numberThe number of characters to include in the returned substring.

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.substr


substring() ​

substring(start, end?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:497

Returns the substring at the specified location within a String object.

Parameters ​

ParameterTypeDescription
startnumberThe zero-based index number indicating the beginning of the substring.
end?numberZero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end. If end is omitted, the characters from start through the end of the original string are returned.

Returns ​

string

Inherited from ​

String.substring


sup() ​

sup(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:539

Returns a <sup> HTML element

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility

Inherited from ​

String.sup


toLocaleLowerCase() ​

Call Signature ​

toLocaleLowerCase(locales?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:503

Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.

Parameters ​
ParameterType
locales?string | string[]
Returns ​

string

Inherited from ​

String.toLocaleLowerCase

Call Signature ​

toLocaleLowerCase(locales?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts:30

Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.

Parameters ​
ParameterType
locales?LocalesArgument
Returns ​

string

Inherited from ​

String.toLocaleLowerCase


toLocaleUpperCase() ​

Call Signature ​

toLocaleUpperCase(locales?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:509

Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.

Parameters ​
ParameterType
locales?string | string[]
Returns ​

string

Inherited from ​

String.toLocaleUpperCase

Call Signature ​

toLocaleUpperCase(locales?): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts:33

Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.

Parameters ​
ParameterType
locales?LocalesArgument
Returns ​

string

Inherited from ​

String.toLocaleUpperCase


toLowerCase() ​

toLowerCase(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:500

Converts all the alphabetic characters in a string to lowercase.

Returns ​

string

Inherited from ​

String.toLowerCase


toString() ​

toString(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:410

Returns a string representation of a string.

Returns ​

string

Inherited from ​

String.toString


toUpperCase() ​

toUpperCase(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:506

Converts all the alphabetic characters in a string to uppercase.

Returns ​

string

Inherited from ​

String.toUpperCase


trim() ​

trim(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:512

Removes the leading and trailing white space and line terminator characters from a string.

Returns ​

string

Inherited from ​

String.trim


trimEnd() ​

trimEnd(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts:19

Removes the trailing white space and line terminator characters from a string.

Returns ​

string

Inherited from ​

String.trimEnd


trimLeft() ​

trimLeft(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts:28

Removes the leading white space and line terminator characters from a string.

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility. Use trimStart instead

Inherited from ​

String.trimLeft


trimRight() ​

trimRight(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts:34

Removes the trailing white space and line terminator characters from a string.

Returns ​

string

Deprecated ​

A legacy feature for browser compatibility. Use trimEnd instead

Inherited from ​

String.trimRight


trimStart() ​

trimStart(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts:22

Removes the leading white space and line terminator characters from a string.

Returns ​

string

Inherited from ​

String.trimStart


valueOf() ​

valueOf(): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:527

Returns the primitive value of the specified object.

Returns ​

string

Inherited from ​

String.valueOf


fromCharCode() ​

static fromCharCode(...codes): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:536

Parameters ​

ParameterType
...codesnumber[]

Returns ​

string

Inherited from ​

String.fromCharCode


fromCodePoint() ​

static fromCodePoint(...codePoints): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:547

Return the String value whose elements are, in order, the elements in the List elements. If length is 0, the empty string is returned.

Parameters ​

ParameterType
...codePointsnumber[]

Returns ​

string

Inherited from ​

String.fromCodePoint


raw() ​

static raw(template, ...substitutions): string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts:558

String.raw is usually used as a tag function of a Tagged Template String. When called as such, the first argument will be a well formed template call site object and the rest parameter will contain the substitution values. It can also be called directly, for example, to interleave strings and values from your own tag function, and in this case the only thing it needs from the first argument is the raw property.

Parameters ​

ParameterTypeDescription
template{ raw: readonly string[] | ArrayLike<string>; }A well-formed template string call site representation.
template.rawreadonly string[] | ArrayLike<string>-
...substitutionsany[]A set of substitution values.

Returns ​

string

Inherited from ​

String.raw