string-arrays

Members

(static, constant) arrayHistogram

Description:
  • Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.
Source:
See:
Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.

(static, constant) bijective2num

Description:
  • Converts a bijective base-k string to a number.
Source:
See:
Converts a bijective base-k string to a number.

(static, constant) bijective2numBI

Description:
  • Converts a bijective base-k string to a BigInt.
Source:
See:
Converts a bijective base-k string to a BigInt.

(static, constant) copyCase

Description:
  • Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.
Source:
See:
Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.

(static, constant) formatBigNumber

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.

(static, constant) formatBigNumberBI

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)

(static, constant) fromBase64

Description:
  • Decodes a Base64 string. Handles Unicode characters correctly.
Source:
See:
Decodes a Base64 string. Handles Unicode characters correctly.

(static, constant) fromBase64Url

Description:
  • Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.
Source:
See:
Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.

(static, constant) num2bijective

Description:
  • Converts a number to a bijective base-k string.
Source:
See:
Converts a number to a bijective base-k string.

(static, constant) num2bijectiveBI

Description:
  • Converts a BigInt to a bijective base-k string.
Source:
See:
Converts a BigInt to a bijective base-k string.

(static, constant) toBase64

Description:
  • Encodes a string to Base64. Handles Unicode characters correctly.
Source:
See:
Encodes a string to Base64. Handles Unicode characters correctly.

(static, constant) toBase64Url

Description:
  • Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.
Source:
See:
Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.

Methods

(inner) formatBigNumberBoth(num, separatoropt, wrapFnopt) → {string}

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
Parameters:
Name Type Attributes Default Description
num number | string | bigint The number to format.
separator string <optional>
'' The string to use as a thousand separator.
wrapFn function <optional>
_=>_ Optional function to wrap each part of the number.
Returns:
The formatted number.
Type
string

Members

(static, constant) arrayHistogram

Description:
  • Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.
Source:
See:
Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.

(static, constant) bijective2num

Description:
  • Converts a bijective base-k string to a number.
Source:
See:
Converts a bijective base-k string to a number.

(static, constant) bijective2numBI

Description:
  • Converts a bijective base-k string to a BigInt.
Source:
See:
Converts a bijective base-k string to a BigInt.

(static, constant) copyCase

Description:
  • Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.
Source:
See:
Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.

(static, constant) formatBigNumber

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.

(static, constant) formatBigNumberBI

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)

(static, constant) fromBase64

Description:
  • Decodes a Base64 string. Handles Unicode characters correctly.
Source:
See:
Decodes a Base64 string. Handles Unicode characters correctly.

(static, constant) fromBase64Url

Description:
  • Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.
Source:
See:
Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.

(static, constant) num2bijective

Description:
  • Converts a number to a bijective base-k string.
Source:
See:
Converts a number to a bijective base-k string.

(static, constant) num2bijectiveBI

Description:
  • Converts a BigInt to a bijective base-k string.
Source:
See:
Converts a BigInt to a bijective base-k string.

(static, constant) toBase64

Description:
  • Encodes a string to Base64. Handles Unicode characters correctly.
Source:
See:
Encodes a string to Base64. Handles Unicode characters correctly.

(static, constant) toBase64Url

Description:
  • Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.
Source:
See:
Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.

Methods

(inner) formatBigNumberBoth(num, separatoropt, wrapFnopt) → {string}

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
Parameters:
Name Type Attributes Default Description
num number | string | bigint The number to format.
separator string <optional>
'' The string to use as a thousand separator.
wrapFn function <optional>
_=>_ Optional function to wrap each part of the number.
Returns:
The formatted number.
Type
string

Members

(static, constant) arrayHistogram

Description:
  • Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.
Source:
See:
Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.

(static, constant) bijective2num

Description:
  • Converts a bijective base-k string to a number.
Source:
See:
Converts a bijective base-k string to a number.

(static, constant) bijective2numBI

Description:
  • Converts a bijective base-k string to a BigInt.
Source:
See:
Converts a bijective base-k string to a BigInt.

(static, constant) copyCase

Description:
  • Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.
Source:
See:
Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.

(static, constant) formatBigNumber

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.

(static, constant) formatBigNumberBI

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)

(static, constant) fromBase64

Description:
  • Decodes a Base64 string. Handles Unicode characters correctly.
Source:
See:
Decodes a Base64 string. Handles Unicode characters correctly.

(static, constant) fromBase64Url

Description:
  • Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.
Source:
See:
Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.

(static, constant) num2bijective

Description:
  • Converts a number to a bijective base-k string.
Source:
See:
Converts a number to a bijective base-k string.

(static, constant) num2bijectiveBI

Description:
  • Converts a BigInt to a bijective base-k string.
Source:
See:
Converts a BigInt to a bijective base-k string.

(static, constant) toBase64

Description:
  • Encodes a string to Base64. Handles Unicode characters correctly.
Source:
See:
Encodes a string to Base64. Handles Unicode characters correctly.

(static, constant) toBase64Url

Description:
  • Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.
Source:
See:
Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.

Methods

(inner) formatBigNumberBoth(num, separatoropt, wrapFnopt) → {string}

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
Parameters:
Name Type Attributes Default Description
num number | string | bigint The number to format.
separator string <optional>
'' The string to use as a thousand separator.
wrapFn function <optional>
_=>_ Optional function to wrap each part of the number.
Returns:
The formatted number.
Type
string

Members

(static, constant) arrayHistogram

Description:
  • Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.
Source:
See:
Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.

(static, constant) bijective2num

Description:
  • Converts a bijective base-k string to a number.
Source:
See:
Converts a bijective base-k string to a number.

(static, constant) bijective2numBI

Description:
  • Converts a bijective base-k string to a BigInt.
Source:
See:
Converts a bijective base-k string to a BigInt.

(static, constant) copyCase

Description:
  • Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.
Source:
See:
Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.

(static, constant) formatBigNumber

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.

(static, constant) formatBigNumberBI

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)

(static, constant) fromBase64

Description:
  • Decodes a Base64 string. Handles Unicode characters correctly.
Source:
See:
Decodes a Base64 string. Handles Unicode characters correctly.

(static, constant) fromBase64Url

Description:
  • Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.
Source:
See:
Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.

(static, constant) num2bijective

Description:
  • Converts a number to a bijective base-k string.
Source:
See:
Converts a number to a bijective base-k string.

(static, constant) num2bijectiveBI

Description:
  • Converts a BigInt to a bijective base-k string.
Source:
See:
Converts a BigInt to a bijective base-k string.

(static, constant) toBase64

Description:
  • Encodes a string to Base64. Handles Unicode characters correctly.
Source:
See:
Encodes a string to Base64. Handles Unicode characters correctly.

(static, constant) toBase64Url

Description:
  • Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.
Source:
See:
Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.

Methods

(inner) formatBigNumberBoth(num, separatoropt, wrapFnopt) → {string}

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
Parameters:
Name Type Attributes Default Description
num number | string | bigint The number to format.
separator string <optional>
'' The string to use as a thousand separator.
wrapFn function <optional>
_=>_ Optional function to wrap each part of the number.
Returns:
The formatted number.
Type
string

Members

(static, constant) arrayHistogram

Description:
  • Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.
Source:
See:
Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.

(static, constant) bijective2num

Description:
  • Converts a bijective base-k string to a number.
Source:
See:
Converts a bijective base-k string to a number.

(static, constant) bijective2numBI

Description:
  • Converts a bijective base-k string to a BigInt.
Source:
See:
Converts a bijective base-k string to a BigInt.

(static, constant) copyCase

Description:
  • Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.
Source:
See:
Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.

(static, constant) formatBigNumber

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.

(static, constant) formatBigNumberBI

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)

(static, constant) fromBase64

Description:
  • Decodes a Base64 string. Handles Unicode characters correctly.
Source:
See:
Decodes a Base64 string. Handles Unicode characters correctly.

(static, constant) fromBase64Url

Description:
  • Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.
Source:
See:
Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.

(static, constant) num2bijective

Description:
  • Converts a number to a bijective base-k string.
Source:
See:
Converts a number to a bijective base-k string.

(static, constant) num2bijectiveBI

Description:
  • Converts a BigInt to a bijective base-k string.
Source:
See:
Converts a BigInt to a bijective base-k string.

(static, constant) toBase64

Description:
  • Encodes a string to Base64. Handles Unicode characters correctly.
Source:
See:
Encodes a string to Base64. Handles Unicode characters correctly.

(static, constant) toBase64Url

Description:
  • Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.
Source:
See:
Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.

Methods

(inner) formatBigNumberBoth(num, separatoropt, wrapFnopt) → {string}

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
Parameters:
Name Type Attributes Default Description
num number | string | bigint The number to format.
separator string <optional>
'' The string to use as a thousand separator.
wrapFn function <optional>
_=>_ Optional function to wrap each part of the number.
Returns:
The formatted number.
Type
string

Members

(static, constant) arrayHistogram

Description:
  • Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.
Source:
See:
Generates a Map with unique elements and their occurring frequencies. Transforms an array into a Map of (key -> quantity) using an optional mapping callback.

(static, constant) bijective2num

Description:
  • Converts a bijective base-k string to a number.
Source:
See:
Converts a bijective base-k string to a number.

(static, constant) bijective2numBI

Description:
  • Converts a bijective base-k string to a BigInt.
Source:
See:
Converts a bijective base-k string to a BigInt.

(static, constant) copyCase

Description:
  • Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.
Source:
See:
Copies the case pattern from one string to another. Handles lower case, upper case, and capitalized strings.

(static, constant) formatBigNumber

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.

(static, constant) formatBigNumberBI

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)
Source:
See:
Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator. (Alias for BigInt logic)

(static, constant) fromBase64

Description:
  • Decodes a Base64 string. Handles Unicode characters correctly.
Source:
See:
Decodes a Base64 string. Handles Unicode characters correctly.

(static, constant) fromBase64Url

Description:
  • Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.
Source:
See:
Decodes a Base64Url string. Replaces '-' with '+' and '_' with '/'.

(static, constant) num2bijective

Description:
  • Converts a number to a bijective base-k string.
Source:
See:
Converts a number to a bijective base-k string.

(static, constant) num2bijectiveBI

Description:
  • Converts a BigInt to a bijective base-k string.
Source:
See:
Converts a BigInt to a bijective base-k string.

(static, constant) toBase64

Description:
  • Encodes a string to Base64. Handles Unicode characters correctly.
Source:
See:
Encodes a string to Base64. Handles Unicode characters correctly.

(static, constant) toBase64Url

Description:
  • Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.
Source:
See:
Encodes a string to Base64Url format. Replaces '+' with '-' and '/' with '_'.

Methods

(inner) formatBigNumberBoth(num, separatoropt, wrapFnopt) → {string}

Description:
  • Formats a BigNumber, Number or string representation of a number by separating thousands with a provided separator.
Source:
Parameters:
Name Type Attributes Default Description
num number | string | bigint The number to format.
separator string <optional>
'' The string to use as a thousand separator.
wrapFn function <optional>
_=>_ Optional function to wrap each part of the number.
Returns:
The formatted number.
Type
string