Documentation / @blazetrails/activesupport / EnvironmentInquirer
Class: EnvironmentInquirer
Defined in: packages/activesupport/lib/environment-inquirer.ts:9
Extends
Indexable
[
index:number]:string
Constructors
Constructor
new EnvironmentInquirer(
env):EnvironmentInquirer
Defined in: packages/activesupport/lib/environment-inquirer.ts:13
Parameters
| Parameter | Type |
|---|---|
env | string |
Returns
EnvironmentInquirer
Overrides
Properties
length
readonlylength: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
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
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
| Parameter | Type |
|---|---|
name | string |
Returns
string
Deprecated
A legacy feature for browser compatibility
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
index | number | The zero-based index of the desired code unit. A negative index will count back from the last item. |
Returns
string | undefined
Inherited from
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
blink()
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
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
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
| Parameter | Type | Description |
|---|---|---|
pos | number | The zero-based index of the desired character. |
Returns
string
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
index | number | The zero-based index of the desired character. If there is no character at the specified index, NaN is returned. |
Returns
number
Inherited from
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
| Parameter | Type |
|---|---|
pos | number |
Returns
number | undefined
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
...strings | string[] | The strings to append to the end of the string. |
Returns
string
Inherited from
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
| Parameter | Type |
|---|---|
searchString | string |
endPosition? | number |
Returns
boolean
Inherited from
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
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
| Parameter | Type |
|---|---|
color | string |
Returns
string
Deprecated
A legacy feature for browser compatibility
Inherited from
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
| Parameter | Type |
|---|---|
size | number |
Returns
string
Deprecated
A legacy feature for browser compatibility
Inherited from
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
| Parameter | Type |
|---|---|
size | string |
Returns
string
Deprecated
A legacy feature for browser compatibility
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
searchString | string | search string |
position? | number | If position is undefined, 0 is assumed, so as to search all of the String. |
Returns
boolean
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
searchString | string | The substring to search for in the string |
position? | number | The index at which to begin searching the String object. If omitted, search starts at the beginning of the string. |
Returns
number
Inherited from
isDevelopment()
isDevelopment():
boolean
Defined in: packages/activesupport/lib/environment-inquirer.ts:25
Returns
boolean
isLocal()
isLocal():
boolean
Defined in: packages/activesupport/lib/environment-inquirer.ts:37
Returns
boolean
isProduction()
isProduction():
boolean
Defined in: packages/activesupport/lib/environment-inquirer.ts:33
Returns
boolean
isTest()
isTest():
boolean
Defined in: packages/activesupport/lib/environment-inquirer.ts:29
Returns
boolean
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
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
| Parameter | Type | Description |
|---|---|---|
searchString | string | The substring to search for. |
position? | number | The index at which to begin searching. If omitted, the search begins at the end of the string. |
Returns
number
Inherited from
link()
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
| Parameter | Type |
|---|---|
url | string |
Returns
string
Deprecated
A legacy feature for browser compatibility
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
that | string | String to compare to target string |
Returns
number
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
that | string | String 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? | CollatorOptions | An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details. |
Returns
number
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
that | string | String to compare to target string |
locales? | LocalesArgument | 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? | CollatorOptions | An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details. |
Returns
number
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
regexp | string | RegExp | A variable name or string literal containing the regular expression pattern and flags. |
Returns
RegExpMatchArray | null
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
matcher | { [match]: RegExpMatchArray | null; } | An object that supports being matched against. |
matcher.[match] | - |
Returns
RegExpMatchArray | null
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
regexp | RegExp | A regular expression |
Returns
RegExpStringIterator<RegExpExecArray>
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
form | "NFC" | "NFD" | "NFKC" | "NFKD" | Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default is "NFC" |
Returns
string
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
form? | string | Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default is "NFC" |
Returns
string
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
maxLength | number | The 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? | string | The 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
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
| Parameter | Type | Description |
|---|---|---|
maxLength | number | The 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? | string | The 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
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
| Parameter | Type | Description |
|---|---|---|
count | number | number of copies to append |
Returns
string
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
searchValue | string | RegExp | A string or regular expression to search for. |
replaceValue | string | A 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
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
| Parameter | Type | Description |
|---|---|---|
searchValue | string | RegExp | A string to search for. |
replacer | (substring, ...args) => string | A function that returns the replacement text. |
Returns
string
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
searchValue | { [replace]: string; } | An object that supports searching for and replacing matches within a string. |
searchValue.[replace] | - | |
replaceValue | string | The replacement text. |
Returns
string
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
searchValue | { [replace]: string; } | A object can search for and replace matches within a string. |
searchValue.[replace] | - | |
replacer | (substring, ...args) => string | A function that returns the replacement text. |
Returns
string
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
searchValue | string | RegExp | A string to search for. |
replaceValue | string | A string containing the text to replace for every successful match of searchValue in this string. |
Returns
string
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
searchValue | string | RegExp | A string to search for. |
replacer | (substring, ...args) => string | A function that returns the replacement text. |
Returns
string
Inherited from
search()
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
| Parameter | Type | Description |
|---|---|---|
regexp | string | RegExp | The regular expression pattern and applicable flags. |
Returns
number
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
searcher | { [search]: number; } | An object which supports searching within a string. |
searcher.[search] | - |
Returns
number
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
start? | number | The index to the beginning of the specified portion of stringObj. |
end? | number | The 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
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
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
| Parameter | Type | Description |
|---|---|---|
separator | string | RegExp | A 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? | number | A value used to limit the number of elements returned in the array. |
Returns
string[]
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
splitter | { [split]: string[]; } | An object that can split a string. |
splitter.[split] | - | |
limit? | number | A value used to limit the number of elements returned in the array. |
Returns
string[]
Inherited from
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
| Parameter | Type |
|---|---|
searchString | string |
position? | number |
Returns
boolean
Inherited from
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
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
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
| Parameter | Type | Description |
|---|---|---|
from | number | The starting position of the desired substring. The index of the first character in the string is zero. |
length? | number | The number of characters to include in the returned substring. |
Returns
string
Deprecated
A legacy feature for browser compatibility
Inherited from
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
| Parameter | Type | Description |
|---|---|---|
start | number | The zero-based index number indicating the beginning of the substring. |
end? | number | Zero-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
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
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
| Parameter | Type |
|---|---|
locales? | string | string[] |
Returns
string
Inherited from
StringInquirer.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
| Parameter | Type |
|---|---|
locales? | LocalesArgument |
Returns
string
Inherited from
StringInquirer.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
| Parameter | Type |
|---|---|
locales? | string | string[] |
Returns
string
Inherited from
StringInquirer.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
| Parameter | Type |
|---|---|
locales? | LocalesArgument |
Returns
string
Inherited from
StringInquirer.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
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
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
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
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
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
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
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
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
fromCharCode()
staticfromCharCode(...codes):string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:536
Parameters
| Parameter | Type |
|---|---|
...codes | number[] |
Returns
string
Inherited from
fromCodePoint()
staticfromCodePoint(...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
| Parameter | Type |
|---|---|
...codePoints | number[] |
Returns
string
Inherited from
raw()
staticraw(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
| Parameter | Type | Description |
|---|---|---|
template | { raw: readonly string[] | ArrayLike<string>; } | A well-formed template string call site representation. |
template.raw | readonly string[] | ArrayLike<string> | - |
...substitutions | any[] | A set of substitution values. |
Returns
string