PageHash
sourceConstructors
new PageHash(value: string): PageHashsource
inherited from
BrandedString("PageHash").constructor
Properties
[species]: "PageHash"source
inherited from
BrandedString("PageHash").[species]
length: numbersource
inherited from
BrandedString("PageHash").length
Returns the length of a String object.
Inherited methods
[iterator](): IterableIterator<string>source
inherited from
BrandedString("PageHash").[iterator]
Iterator
anchor(name: string): stringsource
inherited from
BrandedString("PageHash").anchor
Returns an <a> HTML anchor element and sets the name attribute to the text value
at(index: number): undefined | stringsource
inherited from
BrandedString("PageHash").at
Returns a new String consisting of the single UTF-16 code unit located at the specified index.
big(): stringsource
inherited from
BrandedString("PageHash").big
Returns a <big> HTML element
blink(): stringsource
inherited from
BrandedString("PageHash").blink
Returns a <blink> HTML element
bold(): stringsource
inherited from
BrandedString("PageHash").bold
Returns a <b> HTML element
charAt(pos: number): stringsource
inherited from
BrandedString("PageHash").charAt
Returns the character at the specified index.
charCodeAt(index: number): numbersource
inherited from
BrandedString("PageHash").charCodeAt
Returns the Unicode value of the character at the specified location.
codePointAt(pos: number): undefined | numbersource
inherited from
BrandedString("PageHash").codePointAt
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.
concat(strings: string[]): stringsource
inherited from
BrandedString("PageHash").concat
Returns a string that contains the concatenation of two or more strings.
endsWith(searchString: string, endPosition: number): booleansource
inherited from
BrandedString("PageHash").endsWith
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.
fixed(): stringsource
inherited from
BrandedString("PageHash").fixed
Returns a <tt> HTML element
fontcolor(color: string): stringsource
inherited from
BrandedString("PageHash").fontcolor
Returns a <font> HTML element and sets the color attribute value
fontsize(size: number): stringsource
inherited from
BrandedString("PageHash").fontsize
Returns a <font> HTML element and sets the size attribute value
fontsize(size: string): stringsource
inherited from
BrandedString("PageHash").fontsize
Returns a <font> HTML element and sets the size attribute value
includes(searchString: string, position: number): booleansource
inherited from
BrandedString("PageHash").includes
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.
indexOf(searchString: string, position: number): numbersource
inherited from
BrandedString("PageHash").indexOf
Returns the position of the first occurrence of a substring.
italics(): stringsource
inherited from
BrandedString("PageHash").italics
Returns an <i> HTML element
lastIndexOf(searchString: string, position: number): numbersource
inherited from
BrandedString("PageHash").lastIndexOf
Returns the last occurrence of a substring in the string.
link(url: string): stringsource
inherited from
BrandedString("PageHash").link
Returns an <a> HTML element and sets the href attribute value
localeCompare(that: string): numbersource
inherited from
BrandedString("PageHash").localeCompare
Determines whether two strings are equivalent in the current locale.
localeCompare(that: string, locales: string | string[], options: CollatorOptions): numbersource
inherited from
BrandedString("PageHash").localeCompare
Determines whether two strings are equivalent in the current or specified locale.
match(regexp: string | RegExp): null | RegExpMatchArraysource
inherited from
BrandedString("PageHash").match
Matches a string with a regular expression, and returns an array containing the results of that search.
match(matcher: Object): null | RegExpMatchArraysource
inherited from
BrandedString("PageHash").match
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.
matchAll(regexp: RegExp): IterableIterator<RegExpMatchArray>source
inherited from
BrandedString("PageHash").matchAll
Matches a string with a regular expression, and returns an iterable of matches containing the results of that search.
normalize(form: "NFC" | "NFD" | "NFKC" | "NFKD"): stringsource
inherited from
BrandedString("PageHash").normalize
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.
normalize(form: string): stringsource
inherited from
BrandedString("PageHash").normalize
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.
padEnd(maxLength: number, fillString: string): stringsource
inherited from
BrandedString("PageHash").padEnd
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.
padStart(maxLength: number, fillString: string): stringsource
inherited from
BrandedString("PageHash").padStart
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.
repeat(count: number): stringsource
inherited from
BrandedString("PageHash").repeat
Returns a String value that is made from count copies appended together. If count is 0, the empty string is returned.
replace(searchValue: string | RegExp, replaceValue: string): stringsource
inherited from
BrandedString("PageHash").replace
Replaces text in a string, using a regular expression or search string.
replace(searchValue: string | RegExp, replacer: Function): stringsource
inherited from
BrandedString("PageHash").replace
Replaces text in a string, using a regular expression or search string.
replace(searchValue: Object, replaceValue: string): stringsource
inherited from
BrandedString("PageHash").replace
Passes a string and replaceValue to the [Symbol.replace] method on searchValue. This method is expected to implement its own replacement algorithm.
replace(searchValue: Object, replacer: Function): stringsource
inherited from
BrandedString("PageHash").replace
Replaces text in a string, using an object that supports replacement within a string.
replaceAll(searchValue: string | RegExp, replaceValue: string): stringsource
inherited from
BrandedString("PageHash").replaceAll
Replace all instances of a substring in a string, using a regular expression or search string.
replaceAll(searchValue: string | RegExp, replacer: Function): stringsource
inherited from
BrandedString("PageHash").replaceAll
Replace all instances of a substring in a string, using a regular expression or search string.
search(regexp: string | RegExp): numbersource
inherited from
BrandedString("PageHash").search
Finds the first substring match in a regular expression search.
search(searcher: Object): numbersource
inherited from
BrandedString("PageHash").search
Finds the first substring match in a regular expression search.
slice(start: number, end: number): stringsource
inherited from
BrandedString("PageHash").slice
Returns a section of a string.
small(): stringsource
inherited from
BrandedString("PageHash").small
Returns a <small> HTML element
split(separator: string | RegExp, limit: number): string[]source
inherited from
BrandedString("PageHash").split
Split a string into substrings using the specified separator and return them as an array.
split(splitter: Object, limit: number): string[]source
inherited from
BrandedString("PageHash").split
Split a string into substrings using the specified separator and return them as an array.
startsWith(searchString: string, position: number): booleansource
inherited from
BrandedString("PageHash").startsWith
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.
strike(): stringsource
inherited from
BrandedString("PageHash").strike
Returns a <strike> HTML element
sub(): stringsource
inherited from
BrandedString("PageHash").sub
Returns a <sub> HTML element
substr(from: number, length: number): stringsource
inherited from
BrandedString("PageHash").substr
Gets a substring beginning at the specified location and having the specified length.
substring(start: number, end: number): stringsource
inherited from
BrandedString("PageHash").substring
Returns the substring at the specified location within a String object.
sup(): stringsource
inherited from
BrandedString("PageHash").sup
Returns a <sup> HTML element
toLocaleLowerCase(locales: string | string[]): stringsource
inherited from
BrandedString("PageHash").toLocaleLowerCase
Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.
toLocaleUpperCase(locales: string | string[]): stringsource
inherited from
BrandedString("PageHash").toLocaleUpperCase
Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.
toLowerCase(): stringsource
inherited from
BrandedString("PageHash").toLowerCase
Converts all the alphabetic characters in a string to lowercase.
toString(): stringsource
inherited from
BrandedString("PageHash").toString
Returns a string representation of a string.
toUpperCase(): stringsource
inherited from
BrandedString("PageHash").toUpperCase
Converts all the alphabetic characters in a string to uppercase.
trim(): stringsource
inherited from
BrandedString("PageHash").trim
Removes the leading and trailing white space and line terminator characters from a string.
trimEnd(): stringsource
inherited from
BrandedString("PageHash").trimEnd
Removes the trailing white space and line terminator characters from a string.
trimLeft(): stringsource
inherited from
BrandedString("PageHash").trimLeft
Removes the leading white space and line terminator characters from a string.
trimRight(): stringsource
inherited from
BrandedString("PageHash").trimRight
Removes the trailing white space and line terminator characters from a string.
trimStart(): stringsource
inherited from
BrandedString("PageHash").trimStart
Removes the leading white space and line terminator characters from a string.
valueOf(): stringsource
inherited from
BrandedString("PageHash").valueOf
Returns the primitive value of the specified object.
from<T extends String<T>>(this: ProtectedCtor<T>, value: string): Tsource
inherited from
BrandedString("PageHash").from
fromCharCode(codes: number[]): stringsource
inherited from
BrandedString("PageHash").fromCharCode
fromCodePoint(codePoints: number[]): stringsource
inherited from
BrandedString("PageHash").fromCodePoint
Return the String value whose elements are, in order, the elements in the List elements. If length is 0, the empty string is returned.
raw(template: Object, substitutions: any[]): stringsource
inherited from
BrandedString("PageHash").raw
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.
validate<T extends String<T>>(this: ProtectedCtor<T>, item: any, tracer: Tracer): Maybe<T>source
inherited from
BrandedString("PageHash").validate
withDomain<T extends String<T>>(this: ProtectedCtor<T>, domain: Set<string>): Objectsource
inherited from
BrandedString("PageHash").withDomain