diff --git a/docs/api/classes/AggregateDisposable.html b/docs/api/classes/AggregateDisposable.html index 602b2b0..77dbb7f 100644 --- a/docs/api/classes/AggregateDisposable.html +++ b/docs/api/classes/AggregateDisposable.html @@ -1,9 +1,9 @@ AggregateDisposable | @michaelcoxon/utilities

A Disposable that can collect disposable objects and dispose then when it is disposed

-

Hierarchy

  • AggregateDisposable

Implements

Constructors

Hierarchy

  • AggregateDisposable

Implements

Constructors

Properties

#disposables: IDisposable[]
#disposed: boolean = false

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

#disposables: IDisposable[]
#disposed: boolean = false

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/classes/Assertions.ArgumentAssertionBuilder.html b/docs/api/classes/Assertions.ArgumentAssertionBuilder.html index 9440f23..9dc3034 100644 --- a/docs/api/classes/Assertions.ArgumentAssertionBuilder.html +++ b/docs/api/classes/Assertions.ArgumentAssertionBuilder.html @@ -1,6 +1,6 @@ ArgumentAssertionBuilder | @michaelcoxon/utilities

Instance of

See

IArgumentAssertionBuilder

-

Type Parameters

  • T

Hierarchy

Implements

  • IArgumentAssertionBuilder<T>

Constructors

Type Parameters

  • T

Hierarchy

Implements

  • IArgumentAssertionBuilder<T>

Constructors

Properties

Methods

isNotNull @@ -9,13 +9,13 @@ isOneOf isTypeOf matches -

Constructors

Properties

argument: T
argumentName: string

Methods

Constructors

Properties

argument: T
argumentName: string

Methods

  • Asserts on the value of predicate to whether the assertion is valid.

    +

Returns ArgumentAssertionBuilder<T>

Generated using TypeDoc

\ No newline at end of file +

Returns ArgumentAssertionBuilder<T>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/classes/Assertions.ArrayLikeArgumentAssertionBuilder.html b/docs/api/classes/Assertions.ArrayLikeArgumentAssertionBuilder.html index b98c7d7..e2166cb 100644 --- a/docs/api/classes/Assertions.ArrayLikeArgumentAssertionBuilder.html +++ b/docs/api/classes/Assertions.ArrayLikeArgumentAssertionBuilder.html @@ -1,6 +1,6 @@ ArrayLikeArgumentAssertionBuilder | @michaelcoxon/utilities

Instance of

See

IArgumentAssertionBuilder

-

Type Parameters

  • T

Hierarchy

Constructors

Type Parameters

  • T

Hierarchy

Constructors

Properties

Methods

isNotEmpty @@ -11,15 +11,15 @@ isOneOf isTypeOf matches -

Constructors

Properties

argument: ArrayLike<T>
argumentName: string

Methods

Constructors

Properties

argument: ArrayLike<T>
argumentName: string

Methods

Returns ArrayLikeArgumentAssertionBuilder<T>

Generated using TypeDoc

\ No newline at end of file +

Returns ArrayLikeArgumentAssertionBuilder<T>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/classes/Assertions.CompareAssertionBuilder.html b/docs/api/classes/Assertions.CompareAssertionBuilder.html index f64d340..10433ce 100644 --- a/docs/api/classes/Assertions.CompareAssertionBuilder.html +++ b/docs/api/classes/Assertions.CompareAssertionBuilder.html @@ -1,6 +1,6 @@ CompareAssertionBuilder | @michaelcoxon/utilities

Instance of

See

IArgumentAssertionBuilder

-

Type Parameters

Hierarchy

Constructors

Type Parameters

Hierarchy

Constructors

Properties

Methods

isEqualTo @@ -14,13 +14,13 @@ isOneOf isTypeOf matches -

Constructors

Properties

argument: T
argumentName: string

Methods

Constructors

Properties

argument: T
argumentName: string

Methods

  • Asserts on the value of predicate to whether the assertion is valid.

    +

Returns CompareAssertionBuilder<T>

Generated using TypeDoc

\ No newline at end of file +

Returns CompareAssertionBuilder<T>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/classes/Assertions.GuidArgumentAssertionBuilder.html b/docs/api/classes/Assertions.GuidArgumentAssertionBuilder.html index 57f23fd..b5897dd 100644 --- a/docs/api/classes/Assertions.GuidArgumentAssertionBuilder.html +++ b/docs/api/classes/Assertions.GuidArgumentAssertionBuilder.html @@ -1,6 +1,6 @@ GuidArgumentAssertionBuilder | @michaelcoxon/utilities

Instance of

See

IArgumentAssertionBuilder

-

Hierarchy

Constructors

Hierarchy

Constructors

Properties

Methods

isNotNull @@ -10,13 +10,13 @@ isTypeOf isValidGuid matches -

Constructors

Properties

argument: Guid
argumentName: string

Methods

Constructors

Properties

argument: Guid
argumentName: string

Methods

Returns GuidArgumentAssertionBuilder

Generated using TypeDoc

\ No newline at end of file +

Returns GuidArgumentAssertionBuilder

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/classes/Assertions.StringArgumentAssertionBuilder.html b/docs/api/classes/Assertions.StringArgumentAssertionBuilder.html index 2560b31..8223c74 100644 --- a/docs/api/classes/Assertions.StringArgumentAssertionBuilder.html +++ b/docs/api/classes/Assertions.StringArgumentAssertionBuilder.html @@ -1,6 +1,6 @@ StringArgumentAssertionBuilder | @michaelcoxon/utilities

Instance of

See

IArgumentAssertionBuilder

-

Hierarchy

Implements

  • IArgumentAssertionBuilder<string>

Constructors

Hierarchy

Implements

  • IArgumentAssertionBuilder<string>

Constructors

Properties

Methods

isEqualTo @@ -17,28 +17,28 @@ isTypeOf matches matchesRegex -

Constructors

Properties

argument: string
argumentName: string

Methods

Constructors

Properties

argument: string
argumentName: string

Methods

Returns StringArgumentAssertionBuilder

Throws

Returns StringArgumentAssertionBuilder

Throws

Returns StringArgumentAssertionBuilder

Throws

Returns StringArgumentAssertionBuilder

Throws

Returns StringArgumentAssertionBuilder

Returns StringArgumentAssertionBuilder

Returns StringArgumentAssertionBuilder

Generated using TypeDoc

\ No newline at end of file +

Returns StringArgumentAssertionBuilder

Throws

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/classes/Cache.AsyncCacheItem.html b/docs/api/classes/Cache.AsyncCacheItem.html index ff7f69b..9df16ed 100644 --- a/docs/api/classes/Cache.AsyncCacheItem.html +++ b/docs/api/classes/Cache.AsyncCacheItem.html @@ -1,6 +1,6 @@ -AsyncCacheItem | @michaelcoxon/utilities

Type Parameters

  • T

Hierarchy

  • AsyncCacheItem

Implements

Constructors

constructor +AsyncCacheItem | @michaelcoxon/utilities

Type Parameters

  • T

Hierarchy

  • AsyncCacheItem

Implements

Constructors

Properties

#promiseOrValue: Awaitable<T>

Accessors

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

#promiseOrValue: Awaitable<T>

Accessors

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/classes/Cache.CacheExpiredException.html b/docs/api/classes/Cache.CacheExpiredException.html index f1303c9..6ad5827 100644 --- a/docs/api/classes/Cache.CacheExpiredException.html +++ b/docs/api/classes/Cache.CacheExpiredException.html @@ -1,5 +1,5 @@ CacheExpiredException | @michaelcoxon/utilities

Represents errors that occur during application execution.

-

Hierarchy

Constructors

Hierarchy

Constructors

Properties

#innerException? __proto__ cause? @@ -11,8 +11,8 @@

Accessors

Methods

Constructors

Properties

#innerException?: Exception
__proto__: Error
cause?: unknown
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

    • (err, stackTraces): any
    • Optional override for formatting stack traces

      +

Constructors

Properties

#innerException?: Exception
__proto__: Error
cause?: unknown
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    -

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc

\ No newline at end of file +

Returns undefined | Exception

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/classes/Cache.MemoryCache.html b/docs/api/classes/Cache.MemoryCache.html index 945043d..414d0ae 100644 --- a/docs/api/classes/Cache.MemoryCache.html +++ b/docs/api/classes/Cache.MemoryCache.html @@ -1,5 +1,5 @@ MemoryCache | @michaelcoxon/utilities

Creates an in-memory cache. This cache will be forgotten on disposal.

-

Type Parameters

  • TKey = string

Hierarchy

  • MemoryCache

Implements

Constructors

Type Parameters

  • TKey = string

Hierarchy

  • MemoryCache

Implements

Constructors

Properties

Methods

Constructors

Properties

#internalCache: Map<TKey, IAsyncCacheItem<any>>

Methods

  • Type Parameters

    • T

    Parameters

    • key: TKey

    Returns Promise<{
        success: boolean;
        value?: T;
    }>

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

#internalCache: Map<TKey, IAsyncCacheItem<any>>

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/api/classes/Comparers.CaseInsensitiveStringComparer.html b/docs/api/classes/Comparers.CaseInsensitiveStringComparer.html index 48ff95a..e11537f 100644 --- a/docs/api/classes/Comparers.CaseInsensitiveStringComparer.html +++ b/docs/api/classes/Comparers.CaseInsensitiveStringComparer.html @@ -1,4 +1,4 @@ -CaseInsensitiveStringComparer | @michaelcoxon/utilities

Hierarchy

  • CaseInsensitiveStringComparer

Implements

Constructors

constructor +CaseInsensitiveStringComparer | @michaelcoxon/utilities

Hierarchy

  • CaseInsensitiveStringComparer

Implements

Constructors

Methods

compare equals greaterThan @@ -11,9 +11,9 @@
  • x == y : return 0
  • x > y : return >0
  • -

    Parameters

    • x: string
    • y: string

    Returns number

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • x: string
    • y: string

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Comparers.CustomComparer.html b/docs/api/classes/Comparers.CustomComparer.html index 1338ef3..b48bca0 100644 --- a/docs/api/classes/Comparers.CustomComparer.html +++ b/docs/api/classes/Comparers.CustomComparer.html @@ -1,4 +1,4 @@ -CustomComparer | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • CustomComparer

    Implements

    Constructors

    constructor +CustomComparer | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • CustomComparer

    Implements

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optional comparer: ((a, b) => number)
          • (a, b): number
          • Parameters

            • a: T
            • b: T

            Returns number

      • Optional equalityComparer: ((x, y) => boolean)
          • (x, y): boolean
          • Parameters

            • x: T
            • y: T

            Returns boolean

      Returns CustomComparer<T>

    Properties

    #comparer?: ((a, b) => number)

    Type declaration

      • (a, b): number
      • Parameters

        • a: T
        • b: T

        Returns number

    #equalityComparer?: ((x, y) => boolean)

    Type declaration

      • (x, y): boolean
      • Parameters

        • x: T
        • y: T

        Returns boolean

    Methods

    • Compares 'x' to 'y' where the following rules apply;

      +

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optional comparer: ((a, b) => number)
          • (a, b): number
          • Parameters

            • a: T
            • b: T

            Returns number

      • Optional equalityComparer: ((x, y) => boolean)
          • (x, y): boolean
          • Parameters

            • x: T
            • y: T

            Returns boolean

      Returns CustomComparer<T>

    Properties

    #comparer?: ((a, b) => number)

    Type declaration

      • (a, b): number
      • Parameters

        • a: T
        • b: T

        Returns number

    #equalityComparer?: ((x, y) => boolean)

    Type declaration

      • (x, y): boolean
      • Parameters

        • x: T
        • y: T

        Returns boolean

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Comparers.MapComparer.html b/docs/api/classes/Comparers.MapComparer.html index 9a00ec7..9630be4 100644 --- a/docs/api/classes/Comparers.MapComparer.html +++ b/docs/api/classes/Comparers.MapComparer.html @@ -1,6 +1,6 @@ MapComparer | @michaelcoxon/utilities

    Class MapComparer<T, TProperty>

    Compares objects of the same type using a custom selector and a comparer for the selector's return value.

    -

    Type Parameters

    • T

    • TProperty

    Hierarchy

    • MapComparer

    Implements

    Constructors

    Type Parameters

    • T

    • TProperty

    Hierarchy

    • MapComparer

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    #comparer: IComparer<TProperty>
    #selector: ((a) => TProperty)

    Type declaration

      • (a): TProperty
      • Parameters

        • a: T

        Returns TProperty

    Methods

    • Compares 'x' to 'y' where the following rules apply;

      +

    Constructors

    Properties

    #comparer: IComparer<TProperty>
    #selector: ((a) => TProperty)

    Type declaration

      • (a): TProperty
      • Parameters

        • a: T

        Returns TProperty

    Methods

    • Compares 'x' to 'y' where the following rules apply;

      • x < y : return <0
      • x == y : return 0
      • x > y : return >0
      -

      Parameters

      • x: T
      • y: T

      Returns number

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Comparers.ReverseComparer.html b/docs/api/classes/Comparers.ReverseComparer.html index bc11882..5fb5204 100644 --- a/docs/api/classes/Comparers.ReverseComparer.html +++ b/docs/api/classes/Comparers.ReverseComparer.html @@ -1,5 +1,5 @@ ReverseComparer | @michaelcoxon/utilities

    reverses the comparer provided

    -

    Type Parameters

    • T

    Hierarchy

    • ReverseComparer

    Implements

    Constructors

    Type Parameters

    • T

    Hierarchy

    • ReverseComparer

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    #comparer: IComparer<T>

    Methods

    • Compares 'x' to 'y' where the following rules apply;

      +

    Constructors

    Properties

    #comparer: IComparer<T>

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Configuration.JsonConfigurationBuilder.html b/docs/api/classes/Configuration.JsonConfigurationBuilder.html index 82760d7..c1bcf87 100644 --- a/docs/api/classes/Configuration.JsonConfigurationBuilder.html +++ b/docs/api/classes/Configuration.JsonConfigurationBuilder.html @@ -1,7 +1,7 @@ -JsonConfigurationBuilder | @michaelcoxon/utilities

    Hierarchy

    • JsonConfigurationBuilder

    Implements

    Constructors

    constructor +JsonConfigurationBuilder | @michaelcoxon/utilities

    Hierarchy

    • JsonConfigurationBuilder

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    #configs: Record<string, ConfigValue>[] = []
    #configuration?: IConfiguration
    #reload: boolean = false

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #configs: Record<string, ConfigValue>[] = []
    #configuration?: IConfiguration
    #reload: boolean = false

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerables.ArrayEnumerable.html b/docs/api/classes/Enumerables.ArrayEnumerable.html index 11d1db4..acb421f 100644 --- a/docs/api/classes/Enumerables.ArrayEnumerable.html +++ b/docs/api/classes/Enumerables.ArrayEnumerable.html @@ -1,4 +1,4 @@ -ArrayEnumerable | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    constructor +ArrayEnumerable | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    Methods

    [iterator] all @@ -36,53 +36,53 @@ toDictionary toList where -

    Constructors

    Properties

    _array: T[]

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      +

    Constructors

    Properties

    _array: T[]

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      -

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    • Returns the item at the specified index

      +

    Returns boolean

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerables.Collection.html b/docs/api/classes/Enumerables.Collection.html index 2b46734..80c9870 100644 --- a/docs/api/classes/Enumerables.Collection.html +++ b/docs/api/classes/Enumerables.Collection.html @@ -1,4 +1,4 @@ -Collection | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    constructor +Collection | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    Accessors

    isReadOnly length @@ -41,62 +41,62 @@ toDictionary toList where -

    Constructors

    Properties

    _array: T[]

    Accessors

    Methods

    • Adds an item to the ICollection.

      +

    Constructors

    Properties

    _array: T[]

    Accessors

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      +

    Returns void

    Returns boolean

    Returns void

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerables.Dictionary.html b/docs/api/classes/Enumerables.Dictionary.html index 49d0264..e517f26 100644 --- a/docs/api/classes/Enumerables.Dictionary.html +++ b/docs/api/classes/Enumerables.Dictionary.html @@ -1,4 +1,4 @@ -Dictionary | @michaelcoxon/utilities

    Class Dictionary<TKey, TValue>

    Type Parameters

    • TKey

    • TValue

    Hierarchy

    Implements

    Constructors

    constructor +Dictionary | @michaelcoxon/utilities

    Class Dictionary<TKey, TValue>

    Type Parameters

    • TKey

    • TValue

    Hierarchy

    Implements

    Constructors

    Properties

    Accessors

    keys @@ -48,62 +48,62 @@ toList tryGetValue where -

    Constructors

    Properties

    #hashtable: {
        [hash: string]: KeyValuePair<TKey, TValue>;
    }

    Type declaration

    isReadOnly: boolean = false

    Gets a value indicating whether the ICollection is read-only.

    -

    Accessors

    Methods

    • Adds an item to the ICollection.

      +

    Constructors

    Properties

    #hashtable: {
        [hash: string]: KeyValuePair<TKey, TValue>;
    }

    Type declaration

    isReadOnly: boolean = false

    Gets a value indicating whether the ICollection is read-only.

    +

    Accessors

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      +

    Returns void

    Returns boolean

    Returns void

    Returns Undefinable<KeyValuePair<TKey, TValue>>

    Returns IEnumerable<N>

    Returns IEnumerable<KeyValuePair<TKey, TValue>>

    Returns number

    Returns IEnumerable<KeyValuePair<TKey, TValue>>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<KeyValuePair<TKey, TValue>>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerables.Enumerable.html b/docs/api/classes/Enumerables.Enumerable.html index c15ffbf..68df976 100644 --- a/docs/api/classes/Enumerables.Enumerable.html +++ b/docs/api/classes/Enumerables.Enumerable.html @@ -1,6 +1,6 @@ -Enumerable | @michaelcoxon/utilities

    Hierarchy

    • Enumerable

    Constructors

    constructor +Enumerable | @michaelcoxon/utilities

    Hierarchy

    • Enumerable

    Constructors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerables.EnumerableBase.html b/docs/api/classes/Enumerables.EnumerableBase.html index 6da2fe3..5e40223 100644 --- a/docs/api/classes/Enumerables.EnumerableBase.html +++ b/docs/api/classes/Enumerables.EnumerableBase.html @@ -1,4 +1,4 @@ -EnumerableBase | @michaelcoxon/utilities

    Class EnumerableBase<T>Abstract

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    constructor +EnumerableBase | @michaelcoxon/utilities

    Class EnumerableBase<T>Abstract

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Methods

    [iterator] all any @@ -35,53 +35,53 @@ toDictionary toList where -

    Constructors

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      +

    Constructors

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      -

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    • Returns the item at the specified index

      +

    Returns boolean

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerables.EnumeratorEnumerable.html b/docs/api/classes/Enumerables.EnumeratorEnumerable.html index eb7887f..35f28ca 100644 --- a/docs/api/classes/Enumerables.EnumeratorEnumerable.html +++ b/docs/api/classes/Enumerables.EnumeratorEnumerable.html @@ -1,4 +1,4 @@ -EnumeratorEnumerable | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Constructors

    constructor +EnumeratorEnumerable | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Constructors

    Properties

    Methods

    [iterator] all @@ -35,53 +35,53 @@ toDictionary toList where -

    Constructors

    Properties

    #enumerator: IEnumerator<T>

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      +

    Constructors

    Properties

    #enumerator: IEnumerator<T>

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      -

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    • Returns the item at the specified index

      +

    Returns boolean

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerables.LinkedList.html b/docs/api/classes/Enumerables.LinkedList.html index fcf4319..bee9501 100644 --- a/docs/api/classes/Enumerables.LinkedList.html +++ b/docs/api/classes/Enumerables.LinkedList.html @@ -1,4 +1,4 @@ -LinkedList | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    constructor +LinkedList | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    #count #current? #root? @@ -44,63 +44,63 @@ toList traverse where -

    Constructors

    Properties

    #count: number
    #current?: LinkedListItem<T>
    #root?: LinkedListItem<T>

    Accessors

    Methods

    • Adds an item to the ICollection.

      +

    Constructors

    Properties

    #count: number
    #current?: LinkedListItem<T>
    #root?: LinkedListItem<T>

    Accessors

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      +

    Returns void

    Returns boolean

    Returns void

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerables.List.html b/docs/api/classes/Enumerables.List.html index be1f23b..211b505 100644 --- a/docs/api/classes/Enumerables.List.html +++ b/docs/api/classes/Enumerables.List.html @@ -1,4 +1,4 @@ -List | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    constructor +List | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    Accessors

    isReadOnly length @@ -48,62 +48,62 @@ toDictionary toList where -

    Constructors

    Properties

    _array: T[]

    Accessors

    Methods

    • Adds an item to the ICollection.

      +

    Constructors

    Properties

    _array: T[]

    Accessors

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      +

    Returns void

    Returns boolean

    Returns void

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerables.default.html b/docs/api/classes/Enumerables.default.html index a1581f9..1bafcd6 100644 --- a/docs/api/classes/Enumerables.default.html +++ b/docs/api/classes/Enumerables.default.html @@ -1,4 +1,4 @@ -default | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    constructor +default | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    Accessors

    isReadOnly length @@ -49,83 +49,83 @@ toList unionWith where -

    Constructors

    Properties

    _array: T[]

    Accessors

    Methods

    • Adds an item to the ICollection.

      +

    Constructors

    Properties

    _array: T[]

    Accessors

    Methods

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Copies the elements of the ICollection to an Array, starting at a particular Array index.

      +

    Returns boolean

    Returns void

    Returns void

    Returns void

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns void

    Returns IEnumerable<T>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.AggregateEnumerator.html b/docs/api/classes/Enumerators.AggregateEnumerator.html index e4d9cca..f205883 100644 --- a/docs/api/classes/Enumerators.AggregateEnumerator.html +++ b/docs/api/classes/Enumerators.AggregateEnumerator.html @@ -1,4 +1,4 @@ -AggregateEnumerator | @michaelcoxon/utilities

    Class AggregateEnumerator<T, TReturn>

    Type Parameters

    • T

    • TReturn

    Hierarchy

    Implements

    Constructors

    constructor +AggregateEnumerator | @michaelcoxon/utilities

    Class AggregateEnumerator<T, TReturn>

    Type Parameters

    • T

    • TReturn

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #accumulate?: TReturn
    #aggregateFunction: ((acumulate, current) => TReturn)

    Type declaration

      • (acumulate, current): TReturn
      • Parameters

        • acumulate: TReturn
        • current: T

        Returns TReturn

    #enumerator: IEnumerator<T>
    #initialValue?: TReturn
    return?: ((value?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (value?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional value: TReturn

        Returns IteratorResult<TReturn, TReturn>

    throw?: ((e?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (e?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional e: TReturn

        Returns IteratorResult<TReturn, TReturn>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #accumulate?: TReturn
    #aggregateFunction: ((acumulate, current) => TReturn)

    Type declaration

      • (acumulate, current): TReturn
      • Parameters

        • acumulate: TReturn
        • current: T

        Returns TReturn

    #enumerator: IEnumerator<T>
    #initialValue?: TReturn
    return?: ((value?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (value?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional value: TReturn

        Returns IteratorResult<TReturn, TReturn>

    throw?: ((e?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (e?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional e: TReturn

        Returns IteratorResult<TReturn, TReturn>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.AppendEnumerator.html b/docs/api/classes/Enumerators.AppendEnumerator.html index 544dc2f..b8d0865 100644 --- a/docs/api/classes/Enumerators.AppendEnumerator.html +++ b/docs/api/classes/Enumerators.AppendEnumerator.html @@ -1,5 +1,5 @@ AppendEnumerator | @michaelcoxon/utilities

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #appendedItemsEnumerator: IEnumerator<T>
    #current: Undefinable<T>
    #enumerator: IEnumerator<T>
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #appendedItemsEnumerator: IEnumerator<T>
    #current: Undefinable<T>
    #enumerator: IEnumerator<T>
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.ArrayEnumerator.html b/docs/api/classes/Enumerators.ArrayEnumerator.html index 2865c6b..a925501 100644 --- a/docs/api/classes/Enumerators.ArrayEnumerator.html +++ b/docs/api/classes/Enumerators.ArrayEnumerator.html @@ -1,5 +1,5 @@ ArrayEnumerator | @michaelcoxon/utilities

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    #baseArray #pointer return? @@ -13,8 +13,8 @@

    Constructors

    Properties

    #baseArray: T[]
    #pointer: number = -1
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Returns ArrayEnumerator<T>

    Properties

    #baseArray: T[]
    #pointer: number = -1
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.AsyncEnumerator.html b/docs/api/classes/Enumerators.AsyncEnumerator.html index cb12b7c..440a9e2 100644 --- a/docs/api/classes/Enumerators.AsyncEnumerator.html +++ b/docs/api/classes/Enumerators.AsyncEnumerator.html @@ -1,9 +1,9 @@ -AsyncEnumerator | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • AsyncEnumerator

    Implements

    Constructors

    constructor +AsyncEnumerator | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • AsyncEnumerator

    Implements

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    #baseArray: Awaitable<T>[]
    #current?: T
    #pointer: number = -1

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #baseArray: Awaitable<T>[]
    #current?: T
    #pointer: number = -1

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.DictionaryEnumerator.html b/docs/api/classes/Enumerators.DictionaryEnumerator.html index ce5047c..3dfe740 100644 --- a/docs/api/classes/Enumerators.DictionaryEnumerator.html +++ b/docs/api/classes/Enumerators.DictionaryEnumerator.html @@ -1,5 +1,5 @@ DictionaryEnumerator | @michaelcoxon/utilities

    Class DictionaryEnumerator<TKey, TValue>

    Enumrates an object source for values.

    -

    Type Parameters

    • TKey

    • TValue

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • TKey

    • TValue

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #dictionary: IDictionary<TKey, TValue>
    #keyEnumerator: IEnumerator<TKey>
    return?: ((value?) => IteratorResult<KeyValuePair<TKey, TValue>, KeyValuePair<TKey, TValue>>)

    Type declaration

    throw?: ((e?) => IteratorResult<KeyValuePair<TKey, TValue>, KeyValuePair<TKey, TValue>>)

    Type declaration

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #dictionary: IDictionary<TKey, TValue>
    #keyEnumerator: IEnumerator<TKey>
    return?: ((value?) => IteratorResult<KeyValuePair<TKey, TValue>, KeyValuePair<TKey, TValue>>)

    Type declaration

    throw?: ((e?) => IteratorResult<KeyValuePair<TKey, TValue>, KeyValuePair<TKey, TValue>>)

    Type declaration

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.EnumeratorBase.html b/docs/api/classes/Enumerators.EnumeratorBase.html index c58546d..6d85672 100644 --- a/docs/api/classes/Enumerators.EnumeratorBase.html +++ b/docs/api/classes/Enumerators.EnumeratorBase.html @@ -1,5 +1,5 @@ EnumeratorBase | @michaelcoxon/utilities

    Class EnumeratorBase<T>Abstract

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    current return? throw? @@ -8,7 +8,7 @@ peek reset

    Constructors

    Properties

    current: T

    value of the current element

    -
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Methods

    Generated using TypeDoc

    \ No newline at end of file +
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.IterableEnumerator.html b/docs/api/classes/Enumerators.IterableEnumerator.html index 80f773d..df7dbc0 100644 --- a/docs/api/classes/Enumerators.IterableEnumerator.html +++ b/docs/api/classes/Enumerators.IterableEnumerator.html @@ -1,5 +1,5 @@ IterableEnumerator | @michaelcoxon/utilities

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    #current? #items #iterable @@ -12,10 +12,10 @@ peek reset items -

    Constructors

    Properties

    #current?: IteratorResult<T, void>
    #items: Generator<T, void, unknown>
    #iterable: Iterable<T>
    #peak?: IteratorResult<T, void>
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    • returns the next element without moving the pointer forwards

      +

    Constructors

    Properties

    #current?: IteratorResult<T, void>
    #items: Generator<T, void, unknown>
    #iterable: Iterable<T>
    #peak?: IteratorResult<T, void>
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.LinkedListEnumerator.html b/docs/api/classes/Enumerators.LinkedListEnumerator.html index 5f97b2f..991dd6b 100644 --- a/docs/api/classes/Enumerators.LinkedListEnumerator.html +++ b/docs/api/classes/Enumerators.LinkedListEnumerator.html @@ -1,5 +1,5 @@ LinkedListEnumerator | @michaelcoxon/utilities

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #currentIndex: number
    #linkedList: LinkedList<T>
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #currentIndex: number
    #linkedList: LinkedList<T>
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.RangeEnumerator.html b/docs/api/classes/Enumerators.RangeEnumerator.html index 1a8c27d..f05392e 100644 --- a/docs/api/classes/Enumerators.RangeEnumerator.html +++ b/docs/api/classes/Enumerators.RangeEnumerator.html @@ -1,5 +1,5 @@ RangeEnumerator | @michaelcoxon/utilities

    Enumrates an object source for values.

    -

    Hierarchy

    Implements

    Constructors

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #count: number
    #current?: number
    #increment: number
    #iterations: number
    #start: number
    return?: ((value?) => IteratorResult<number, number>)

    Type declaration

      • (value?): IteratorResult<number, number>
      • Parameters

        • Optional value: number

        Returns IteratorResult<number, number>

    throw?: ((e?) => IteratorResult<number, number>)

    Type declaration

      • (e?): IteratorResult<number, number>
      • Parameters

        • Optional e: number

        Returns IteratorResult<number, number>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #count: number
    #current?: number
    #increment: number
    #iterations: number
    #start: number
    return?: ((value?) => IteratorResult<number, number>)

    Type declaration

      • (value?): IteratorResult<number, number>
      • Parameters

        • Optional value: number

        Returns IteratorResult<number, number>

    throw?: ((e?) => IteratorResult<number, number>)

    Type declaration

      • (e?): IteratorResult<number, number>
      • Parameters

        • Optional e: number

        Returns IteratorResult<number, number>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.SelectEnumerator.html b/docs/api/classes/Enumerators.SelectEnumerator.html index bf5f400..11033d0 100644 --- a/docs/api/classes/Enumerators.SelectEnumerator.html +++ b/docs/api/classes/Enumerators.SelectEnumerator.html @@ -1,5 +1,5 @@ SelectEnumerator | @michaelcoxon/utilities

    Class SelectEnumerator<T, TReturn>

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    • TReturn

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    • TReturn

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #currentItem?: TReturn
    #enumerator: IEnumerator<T>
    #selector: Selector<T, TReturn>
    return?: ((value?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (value?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional value: TReturn

        Returns IteratorResult<TReturn, TReturn>

    throw?: ((e?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (e?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional e: TReturn

        Returns IteratorResult<TReturn, TReturn>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #currentItem?: TReturn
    #enumerator: IEnumerator<T>
    #selector: Selector<T, TReturn>
    return?: ((value?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (value?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional value: TReturn

        Returns IteratorResult<TReturn, TReturn>

    throw?: ((e?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (e?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional e: TReturn

        Returns IteratorResult<TReturn, TReturn>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.SelectManyEnumerator.html b/docs/api/classes/Enumerators.SelectManyEnumerator.html index 7ba23e0..71a23d0 100644 --- a/docs/api/classes/Enumerators.SelectManyEnumerator.html +++ b/docs/api/classes/Enumerators.SelectManyEnumerator.html @@ -1,5 +1,5 @@ SelectManyEnumerator | @michaelcoxon/utilities

    Class SelectManyEnumerator<T, TReturn>

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    • TReturn

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    • TReturn

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #currentItem?: TReturn
    #currentSetEnumerator?: IEnumerator<TReturn>
    #enumerator: IEnumerator<T>
    #selector: Selector<T, IEnumerable<TReturn>>
    return?: ((value?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (value?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional value: TReturn

        Returns IteratorResult<TReturn, TReturn>

    throw?: ((e?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (e?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional e: TReturn

        Returns IteratorResult<TReturn, TReturn>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #currentItem?: TReturn
    #currentSetEnumerator?: IEnumerator<TReturn>
    #enumerator: IEnumerator<T>
    #selector: Selector<T, IEnumerable<TReturn>>
    return?: ((value?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (value?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional value: TReturn

        Returns IteratorResult<TReturn, TReturn>

    throw?: ((e?) => IteratorResult<TReturn, TReturn>)

    Type declaration

      • (e?): IteratorResult<TReturn, TReturn>
      • Parameters

        • Optional e: TReturn

        Returns IteratorResult<TReturn, TReturn>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.SkipEnumerator.html b/docs/api/classes/Enumerators.SkipEnumerator.html index 67056fa..173affe 100644 --- a/docs/api/classes/Enumerators.SkipEnumerator.html +++ b/docs/api/classes/Enumerators.SkipEnumerator.html @@ -1,5 +1,5 @@ SkipEnumerator | @michaelcoxon/utilities

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    Hierarchy

    Constructors

    Type Parameters

    • T

    Hierarchy

    Constructors

    Properties

    Constructors

    Properties

    #count: number
    #currentItem?: T
    #enumerator: IEnumerator<T>
    #itemsToSkip: number
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #count: number
    #currentItem?: T
    #enumerator: IEnumerator<T>
    #itemsToSkip: number
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.TakeEnumerator.html b/docs/api/classes/Enumerators.TakeEnumerator.html index 26a09cc..0036116 100644 --- a/docs/api/classes/Enumerators.TakeEnumerator.html +++ b/docs/api/classes/Enumerators.TakeEnumerator.html @@ -1,5 +1,5 @@ TakeEnumerator | @michaelcoxon/utilities

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #currentItem?: T
    #enumerator: IEnumerator<T>
    #itemsTaken: number
    #itemsToTake: number
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #currentItem?: T
    #enumerator: IEnumerator<T>
    #itemsTaken: number
    #itemsToTake: number
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Enumerators.WhereEnumerator.html b/docs/api/classes/Enumerators.WhereEnumerator.html index 4b897d0..277525a 100644 --- a/docs/api/classes/Enumerators.WhereEnumerator.html +++ b/docs/api/classes/Enumerators.WhereEnumerator.html @@ -1,5 +1,5 @@ WhereEnumerator | @michaelcoxon/utilities

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #currentItem?: T
    #enumerator: IEnumerator<T>
    #predicate: Predicate<T>
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #currentItem?: T
    #enumerator: IEnumerator<T>
    #predicate: Predicate<T>
    return?: ((value?) => IteratorResult<T, T>)

    Type declaration

      • (value?): IteratorResult<T, T>
      • Parameters

        • Optional value: T

        Returns IteratorResult<T, T>

    throw?: ((e?) => IteratorResult<T, T>)

    Type declaration

      • (e?): IteratorResult<T, T>
      • Parameters

        • Optional e: T

        Returns IteratorResult<T, T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Events.Event.html b/docs/api/classes/Events.Event.html index 1802f17..20858e6 100644 --- a/docs/api/classes/Events.Event.html +++ b/docs/api/classes/Events.Event.html @@ -1,14 +1,14 @@ Event | @michaelcoxon/utilities

    Class Event<TEventArgs>

    Class to represent an event.

    -

    Type Parameters

    • TEventArgs

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • TEventArgs

    Hierarchy

    Implements

    Constructors

    • Type Parameters

      • TEventArgs

      Returns Event<TEventArgs>

    Properties

    #disposed: boolean = false
    #eventHandlers: EventHandler<TEventArgs>[] = []

    Methods

    • Invokes the event

      +

    Constructors

    • Type Parameters

      • TEventArgs

      Returns Event<TEventArgs>

    Properties

    #disposed: boolean = false
    #eventHandlers: EventHandler<TEventArgs>[] = []

    Methods

    • Invokes the event

      Parameters

      • sender: any

        the object that is calling invoke

      • args: TEventArgs

        the arguments to send along with the event.

        -

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Events.SingleInvokeEvent.html b/docs/api/classes/Events.SingleInvokeEvent.html index 4626b91..a5acb0d 100644 --- a/docs/api/classes/Events.SingleInvokeEvent.html +++ b/docs/api/classes/Events.SingleInvokeEvent.html @@ -1,7 +1,7 @@ SingleInvokeEvent | @michaelcoxon/utilities

    Class SingleInvokeEvent<TEventArgs>

    An event type that can only be invoked once. Once the event is invoked, and handler that is added to it will be immediately executed. All subsequent invocations are ignored

    -

    Type Parameters

    • TEventArgs

    Hierarchy

    • Event<TEventArgs>
      • SingleInvokeEvent

    Implements

    Constructors

    Type Parameters

    • TEventArgs

    Hierarchy

    • Event<TEventArgs>
      • SingleInvokeEvent

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #args?: TEventArgs

    the firing args

    -
    #disposed: boolean = false
    #eventHandlers: EventHandler<TEventArgs>[] = []
    #fired: boolean

    event has been fired

    -
    #sender?: any

    the firing sender

    -

    Methods

    Properties

    #args?: TEventArgs

    the firing args

    +
    #disposed: boolean = false
    #eventHandlers: EventHandler<TEventArgs>[] = []
    #fired: boolean

    event has been fired

    +
    #sender?: any

    the firing sender

    +

    Methods

    • Invokes the event

      Parameters

      • sender: any

        the object that is calling invoke

      • args: TEventArgs

        the arguments to send along with the event.

        -

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.AlreadyDisposedException.html b/docs/api/classes/Exceptions.AlreadyDisposedException.html index a20c2bd..261f59b 100644 --- a/docs/api/classes/Exceptions.AlreadyDisposedException.html +++ b/docs/api/classes/Exceptions.AlreadyDisposedException.html @@ -1,5 +1,5 @@ AlreadyDisposedException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.ArgumentException.html b/docs/api/classes/Exceptions.ArgumentException.html index e68fec5..c10d630 100644 --- a/docs/api/classes/Exceptions.ArgumentException.html +++ b/docs/api/classes/Exceptions.ArgumentException.html @@ -1,5 +1,5 @@ ArgumentException | @michaelcoxon/utilities

    The exception that is thrown when one of the arguments provided to a method is not valid.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -16,8 +16,8 @@
  • Optional message: string

    the message

  • Optional innerException: Exception

    this is used to capture any exceptions that were called before this exception.

    -
  • Returns ArgumentException

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Returns ArgumentException

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.ArgumentNullException.html b/docs/api/classes/Exceptions.ArgumentNullException.html index 0a95418..73c16c0 100644 --- a/docs/api/classes/Exceptions.ArgumentNullException.html +++ b/docs/api/classes/Exceptions.ArgumentNullException.html @@ -1,5 +1,5 @@ ArgumentNullException | @michaelcoxon/utilities

    The exception that is thrown when one of the arguments provided to a method is not valid.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.ArgumentUndefinedException.html b/docs/api/classes/Exceptions.ArgumentUndefinedException.html index a84293a..a04bd99 100644 --- a/docs/api/classes/Exceptions.ArgumentUndefinedException.html +++ b/docs/api/classes/Exceptions.ArgumentUndefinedException.html @@ -1,5 +1,5 @@ ArgumentUndefinedException | @michaelcoxon/utilities

    The exception that is thrown when one of the arguments provided to a method is not valid.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.ErrorException.html b/docs/api/classes/Exceptions.ErrorException.html index 47e8eb2..f0c04d4 100644 --- a/docs/api/classes/Exceptions.ErrorException.html +++ b/docs/api/classes/Exceptions.ErrorException.html @@ -1,5 +1,5 @@ ErrorException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.Exception.html b/docs/api/classes/Exceptions.Exception.html index 76f2c25..3f7a585 100644 --- a/docs/api/classes/Exceptions.Exception.html +++ b/docs/api/classes/Exceptions.Exception.html @@ -1,5 +1,5 @@ Exception | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -12,14 +12,14 @@

    Methods

    Constructors

    Returns Exception

  • Creates a new Exception with a message and an inner exception

    Parameters

    • message: undefined | string

      the message

    • innerException: Exception

      this is used to capture any exceptions that were called before this exception.

      -

    Returns Exception

  • Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Returns Exception

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.FileNotFoundException.html b/docs/api/classes/Exceptions.FileNotFoundException.html index 4bfccda..12cc7f3 100644 --- a/docs/api/classes/Exceptions.FileNotFoundException.html +++ b/docs/api/classes/Exceptions.FileNotFoundException.html @@ -1,5 +1,5 @@ FileNotFoundException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.FormatException.html b/docs/api/classes/Exceptions.FormatException.html index 68e32b1..ea08adf 100644 --- a/docs/api/classes/Exceptions.FormatException.html +++ b/docs/api/classes/Exceptions.FormatException.html @@ -1,5 +1,5 @@ FormatException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.IndexOutOfRangeException.html b/docs/api/classes/Exceptions.IndexOutOfRangeException.html index bf2bdbf..a5c9dd5 100644 --- a/docs/api/classes/Exceptions.IndexOutOfRangeException.html +++ b/docs/api/classes/Exceptions.IndexOutOfRangeException.html @@ -1,5 +1,5 @@ IndexOutOfRangeException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.InvalidOperationException.html b/docs/api/classes/Exceptions.InvalidOperationException.html index 4443120..7bd2500 100644 --- a/docs/api/classes/Exceptions.InvalidOperationException.html +++ b/docs/api/classes/Exceptions.InvalidOperationException.html @@ -1,5 +1,5 @@ InvalidOperationException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.InvalidTypeException.html b/docs/api/classes/Exceptions.InvalidTypeException.html index d63e596..6609f5b 100644 --- a/docs/api/classes/Exceptions.InvalidTypeException.html +++ b/docs/api/classes/Exceptions.InvalidTypeException.html @@ -1,5 +1,5 @@ InvalidTypeException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.KeyAlreadyDefinedException.html b/docs/api/classes/Exceptions.KeyAlreadyDefinedException.html index 61c7aea..087c716 100644 --- a/docs/api/classes/Exceptions.KeyAlreadyDefinedException.html +++ b/docs/api/classes/Exceptions.KeyAlreadyDefinedException.html @@ -1,5 +1,5 @@ KeyAlreadyDefinedException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Type Parameters

    • TKey

    Hierarchy

    Constructors

    Type Parameters

    • TKey

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.KeyNotFoundException.html b/docs/api/classes/Exceptions.KeyNotFoundException.html index 021a14a..0b9ca35 100644 --- a/docs/api/classes/Exceptions.KeyNotFoundException.html +++ b/docs/api/classes/Exceptions.KeyNotFoundException.html @@ -1,5 +1,5 @@ KeyNotFoundException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Type Parameters

    • TKey

    Hierarchy

    Constructors

    Type Parameters

    • TKey

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.MutexAlreadyAquiredException.html b/docs/api/classes/Exceptions.MutexAlreadyAquiredException.html index 59e646c..57e36dc 100644 --- a/docs/api/classes/Exceptions.MutexAlreadyAquiredException.html +++ b/docs/api/classes/Exceptions.MutexAlreadyAquiredException.html @@ -1,5 +1,5 @@ MutexAlreadyAquiredException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.NotImplementedException.html b/docs/api/classes/Exceptions.NotImplementedException.html index 992f8bf..37776ea 100644 --- a/docs/api/classes/Exceptions.NotImplementedException.html +++ b/docs/api/classes/Exceptions.NotImplementedException.html @@ -1,5 +1,5 @@ NotImplementedException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.NotSupportedException.html b/docs/api/classes/Exceptions.NotSupportedException.html index 755ac98..1527c46 100644 --- a/docs/api/classes/Exceptions.NotSupportedException.html +++ b/docs/api/classes/Exceptions.NotSupportedException.html @@ -1,5 +1,5 @@ NotSupportedException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.NullReferenceException.html b/docs/api/classes/Exceptions.NullReferenceException.html index ab36b02..a526139 100644 --- a/docs/api/classes/Exceptions.NullReferenceException.html +++ b/docs/api/classes/Exceptions.NullReferenceException.html @@ -1,5 +1,5 @@ NullReferenceException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Exceptions.OutOfBoundsException.html b/docs/api/classes/Exceptions.OutOfBoundsException.html index ab9cf5e..15938dd 100644 --- a/docs/api/classes/Exceptions.OutOfBoundsException.html +++ b/docs/api/classes/Exceptions.OutOfBoundsException.html @@ -1,5 +1,5 @@ OutOfBoundsException | @michaelcoxon/utilities

    Represents errors that occur during application execution.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Properties

    #innerException? __proto__ cause? @@ -11,8 +11,8 @@

    Accessors

    Methods

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

      • (err, stackTraces): any
      • Optional override for formatting stack traces

        +

    Constructors

    Properties

    #innerException?: Exception
    __proto__: Error
    cause?: unknown
    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      -

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns undefined | Exception

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Formatters.DateFormatter.html b/docs/api/classes/Formatters.DateFormatter.html index fdcc23a..10f0a85 100644 --- a/docs/api/classes/Formatters.DateFormatter.html +++ b/docs/api/classes/Formatters.DateFormatter.html @@ -1,4 +1,4 @@ -DateFormatter | @michaelcoxon/utilities

    Hierarchy

    • DateFormatter

    Implements

    Constructors

    constructor +DateFormatter | @michaelcoxon/utilities

    Hierarchy

    • DateFormatter

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Formatters.NumberFormatter.html b/docs/api/classes/Formatters.NumberFormatter.html index 03e01a2..4a10399 100644 --- a/docs/api/classes/Formatters.NumberFormatter.html +++ b/docs/api/classes/Formatters.NumberFormatter.html @@ -1,6 +1,6 @@ NumberFormatter | @michaelcoxon/utilities

    Formats numbers

    -

    Hierarchy

    • NumberFormatter

    Implements

    Constructors

    Hierarchy

    • NumberFormatter

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Methods

    • Parameters

      • specifier: string

      Returns ((subject, precision?) => string)

        • (subject, precision?): string
        • Parameters

          • subject: number
          • Optional precision: number

          Returns string

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Formatters.NumberFormatterDelegates.html b/docs/api/classes/Formatters.NumberFormatterDelegates.html index 45fd219..3f6161e 100644 --- a/docs/api/classes/Formatters.NumberFormatterDelegates.html +++ b/docs/api/classes/Formatters.NumberFormatterDelegates.html @@ -1,4 +1,4 @@ -NumberFormatterDelegates | @michaelcoxon/utilities

    Hierarchy

    • NumberFormatterDelegates

    Constructors

    constructor +NumberFormatterDelegates | @michaelcoxon/utilities

    Hierarchy

    • NumberFormatterDelegates

    Constructors

    Properties

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Formatters.StringFormatter.html b/docs/api/classes/Formatters.StringFormatter.html index 7ef41da..b2edef4 100644 --- a/docs/api/classes/Formatters.StringFormatter.html +++ b/docs/api/classes/Formatters.StringFormatter.html @@ -1,4 +1,4 @@ StringFormatter | @michaelcoxon/utilities

    Formats strings

    -

    Hierarchy

    • StringFormatter

    Implements

    Constructors

    Hierarchy

    • StringFormatter

    Implements

    Constructors

    Methods

    Constructors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Guid.html b/docs/api/classes/Guid.html index 8360d88..76e28d1 100644 --- a/docs/api/classes/Guid.html +++ b/docs/api/classes/Guid.html @@ -1,5 +1,5 @@ Guid | @michaelcoxon/utilities

    Represents a GUID

    -

    Hierarchy

    • Guid

    Constructors

    Hierarchy

    • Guid

    Constructors

    Properties

    #a #b #c @@ -17,9 +17,9 @@ newGuid parseString

    Constructors

    Properties

    #d: Byte
    #e: Byte
    #f: Byte
    #g: Byte
    #h: Byte
    #i: Byte
    #j: Byte
    #k: Byte
    empty: Guid = ...

    An empty Guid (all zero's)

    -

    Methods

    • Returns the Guid as a hypen-separated string without curly braces.

      -

      Returns string

    • Returns the Guid as a hypen-separated string without curly braces.

      -

      Returns string

    • Creates a new v4 GUID (its random except for the version nibble)

      -

      Returns Guid

    • converts astring representaion of a Guid into a Guid object.

      -

      Parameters

      • str: string

      Returns Guid

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns Guid

    Properties

    #d: Byte
    #e: Byte
    #f: Byte
    #g: Byte
    #h: Byte
    #i: Byte
    #j: Byte
    #k: Byte
    empty: Guid = ...

    An empty Guid (all zero's)

    +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/IO.IndentedStringBuilder.html b/docs/api/classes/IO.IndentedStringBuilder.html index 66b8184..21f23ca 100644 --- a/docs/api/classes/IO.IndentedStringBuilder.html +++ b/docs/api/classes/IO.IndentedStringBuilder.html @@ -1,5 +1,5 @@ IndentedStringBuilder | @michaelcoxon/utilities

    Class for building strings that will only concatenate them upon calling toString().

    -

    Hierarchy

    • IndentedStringBuilder

    Implements

    Constructors

    Hierarchy

    • IndentedStringBuilder

    Implements

    Constructors

    Properties

    #indentationLevel: number
    #invalidateLastValue: boolean
    #lastValue: Undefinable<string>
    #strings: {
        indent: number;
        value: string;
    }[]

    Type declaration

    • indent: number
    • value: string
    indentationString: string = "\t"

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns IndentedStringBuilder

    Properties

    #indentationLevel: number
    #invalidateLastValue: boolean
    #lastValue: Undefinable<string>
    #strings: {
        indent: number;
        value: string;
    }[]

    Type declaration

    • indent: number
    • value: string
    indentationString: string = "\t"

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/IO.StringBuilder.html b/docs/api/classes/IO.StringBuilder.html index 44dc536..655fe98 100644 --- a/docs/api/classes/IO.StringBuilder.html +++ b/docs/api/classes/IO.StringBuilder.html @@ -1,5 +1,5 @@ StringBuilder | @michaelcoxon/utilities

    Class for building strings that will only concatenate them upon calling toString().

    -

    Hierarchy

    • StringBuilder

    Implements

    Constructors

    Hierarchy

    • StringBuilder

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #invalidateLastValue: boolean
    #lastValue: Undefinable<string>
    #strings: string[]

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns StringBuilder

    Properties

    #invalidateLastValue: boolean
    #lastValue: Undefinable<string>
    #strings: string[]

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Lazy.html b/docs/api/classes/Lazy.html index 67aa8eb..06ad00e 100644 --- a/docs/api/classes/Lazy.html +++ b/docs/api/classes/Lazy.html @@ -1,5 +1,5 @@ Lazy | @michaelcoxon/utilities

    Lazy wrapper for a factory.

    -

    Type Parameters

    • T

    Hierarchy

    • Lazy

    Constructors

    Type Parameters

    • T

    Hierarchy

    • Lazy

    Constructors

    Properties

    #factory #value #valueCreated @@ -11,6 +11,6 @@

    By default, if the factory returns undefined, the value of isValueCreated will not be true. To alter this set waitForValue to false.

    -

    Type Parameters

    • T

    Parameters

    • factory: (() => T)
        • (): T
        • Returns T

    • waitForValue: boolean = true

    Returns Lazy<T>

    Properties

    #factory: (() => T)

    Type declaration

      • (): T
      • Returns T

    #value: Undefinable<T>
    #valueCreated: boolean = false
    #waitForValue: boolean

    Accessors

    • get isValueCreated(): boolean
    • Returns true if the value has been created.

      -

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns Lazy<T>

    Properties

    #factory: (() => T)

    Type declaration

      • (): T
      • Returns T

    #value: Undefinable<T>
    #valueCreated: boolean = false
    #waitForValue: boolean

    Accessors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Logging.AggregateLogger.html b/docs/api/classes/Logging.AggregateLogger.html index 6970408..0209854 100644 --- a/docs/api/classes/Logging.AggregateLogger.html +++ b/docs/api/classes/Logging.AggregateLogger.html @@ -1,5 +1,5 @@ AggregateLogger | @michaelcoxon/utilities

    ILogger interface for all logging implementations

    -

    Hierarchy

    • AggregateLogger

    Implements

    Constructors

    Hierarchy

    • AggregateLogger

    Implements

    Constructors

    Properties

    Methods

    debug debugError @@ -12,23 +12,23 @@ traceError warn warnError -

    Constructors

    Properties

    #loggers: ILogger[]

    Methods

    • Rescope the logger with the provided name. Used for tagging the logger.

      +

    Constructors

    Properties

    #loggers: ILogger[]

    Methods

    • Rescope the logger with the provided name. Used for tagging the logger.

      Parameters

      • name: string

        The tag the logger should be given

      Returns ILogger & IDisposable

      Example

      Use the scope tool inside a 'using' to scope logging to a specific method.
      return using(() => logger.scope("theNameOfMyScope"), logger =>
      {
      logger.debug("Log something here");
      });
      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Logging.ConsoleLogger.html b/docs/api/classes/Logging.ConsoleLogger.html index 9106dee..767c8d7 100644 --- a/docs/api/classes/Logging.ConsoleLogger.html +++ b/docs/api/classes/Logging.ConsoleLogger.html @@ -1,5 +1,5 @@ ConsoleLogger | @michaelcoxon/utilities

    ILogger interface for all logging implementations

    -

    Hierarchy

    Implements

    Constructors

    Hierarchy

    Implements

    Constructors

    Properties

    Methods

    _debugMethod @@ -19,23 +19,23 @@ traceError warn warnError -

    Constructors

    Properties

    #config: ILoggerConfig
    #consoleLoggerConfig: IConsoleLoggerConfig

    Methods

    • Rescope the logger with the provided name. Used for tagging the logger.

      +

    Constructors

    Properties

    #config: ILoggerConfig
    #consoleLoggerConfig: IConsoleLoggerConfig

    Methods

    • Rescope the logger with the provided name. Used for tagging the logger.

      Parameters

      • name: string

        The tag the logger should be given

      Returns ILogger & IDisposable

      Example

      Use the scope tool inside a 'using' to scope logging to a specific method.
      return using(() => logger.scope("theNameOfMyScope"), logger =>
      {
      logger.debug("Log something here");
      });
      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Logging.Logger.html b/docs/api/classes/Logging.Logger.html index bb8d091..439ffc0 100644 --- a/docs/api/classes/Logging.Logger.html +++ b/docs/api/classes/Logging.Logger.html @@ -1,5 +1,5 @@ Logger | @michaelcoxon/utilities

    ILogger interface for all logging implementations

    -

    Hierarchy

    Implements

    Constructors

    Hierarchy

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    #config: ILoggerConfig

    Methods

    • Rescope the logger with the provided name. Used for tagging the logger.

      +

    Constructors

    Properties

    #config: ILoggerConfig

    Methods

    • Rescope the logger with the provided name. Used for tagging the logger.

      Parameters

      • name: string

        The tag the logger should be given

      Returns ILogger & IDisposable

      Example

      Use the scope tool inside a 'using' to scope logging to a specific method.
      return using(() => logger.scope("theNameOfMyScope"), logger =>
      {
      logger.debug("Log something here");
      });
      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Logging.ScopedLogger.html b/docs/api/classes/Logging.ScopedLogger.html index 02831b9..6a8da22 100644 --- a/docs/api/classes/Logging.ScopedLogger.html +++ b/docs/api/classes/Logging.ScopedLogger.html @@ -1,5 +1,5 @@ ScopedLogger | @michaelcoxon/utilities

    ILogger interface for all logging implementations

    -

    Hierarchy

    • ScopedLogger

    Implements

    Constructors

    Hierarchy

    • ScopedLogger

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #disposed: boolean = false
    #logger: ILogger
    #name: string

    Methods

    • Rescope the logger with the provided name. Used for tagging the logger.

      +

    Constructors

    Properties

    #disposed: boolean = false
    #logger: ILogger
    #name: string

    Methods

    • Rescope the logger with the provided name. Used for tagging the logger.

      Parameters

      • name: string

        The tag the logger should be given

      Returns ILogger & IDisposable

      Example

      Use the scope tool inside a 'using' to scope logging to a specific method.
      return using(() => logger.scope("theNameOfMyScope"), logger =>
      {
      logger.debug("Log something here");
      });
      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/ModelState.BaseModelState.html b/docs/api/classes/ModelState.BaseModelState.html index 3158c7c..ad24a35 100644 --- a/docs/api/classes/ModelState.BaseModelState.html +++ b/docs/api/classes/ModelState.BaseModelState.html @@ -1,4 +1,4 @@ -BaseModelState | @michaelcoxon/utilities

    Class BaseModelState<T>Abstract

    Type Parameters

    • T extends any

    Hierarchy

    Implements

    • IModelState<T>

    Constructors

    constructor +BaseModelState | @michaelcoxon/utilities

    Class BaseModelState<T>Abstract

    Type Parameters

    • T extends any

    Hierarchy

    Implements

    • IModelState<T>

    Constructors

    Properties

    Constructors

    Properties

    #postHandlers: Record<string, EventHandler<Undefinable<T>>>
    #preHandlers: Record<string, EventHandler<Undefinable<T>>>
    #updatedEvent: Event<Undefinable<T>>
    #updatingEvent: Event<Undefinable<T>>
    #value: Undefinable<T>

    Accessors

    Methods

    • Creates a subscription to the ModelState that will be called when +

    Constructors

    Properties

    #postHandlers: Record<string, EventHandler<Undefinable<T>>>
    #preHandlers: Record<string, EventHandler<Undefinable<T>>>
    #updatedEvent: Event<Undefinable<T>>
    #updatingEvent: Event<Undefinable<T>>
    #value: Undefinable<T>

    Accessors

    Methods

    • Creates a subscription to the ModelState that will be called when the state is updated.

      Parameters

      • postCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      • Optional preCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      Returns string

      A symbol that must saved to unsubscribe from the ModelState

      -
    • Parameters

      • postCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      • Optional preCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      • publishCurrentValue: boolean = true

      Returns string

    • Parameters

      • postCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      • Optional preCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      • publishCurrentValue: boolean = true

      Returns string

    • Unsubscribes a component from the model state.

      Parameters

      • key: string

        The symbol that was returned from the subscribe method.

        -

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/ModelState.FactoryModelState.html b/docs/api/classes/ModelState.FactoryModelState.html index 7511d08..aff56f7 100644 --- a/docs/api/classes/ModelState.FactoryModelState.html +++ b/docs/api/classes/ModelState.FactoryModelState.html @@ -1,4 +1,4 @@ -FactoryModelState | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Constructors

    constructor +FactoryModelState | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Constructors

    Properties

    Constructors

    Returns FactoryModelState<T>

  • Creates a new PollingModelState

    Type Parameters

    • T

    Parameters

    • promiseFactory: (() => Promise<T>)

      can be a promise factory

      -
        • (): Promise<T>
        • Returns Promise<T>

    • Optional updateNow: boolean

    Returns FactoryModelState<T>

  • Creates a new PollingModelState

    +
      • (): Promise<T>
      • Returns Promise<T>

  • Optional updateNow: boolean
  • Returns FactoryModelState<T>

  • Creates a new PollingModelState

    Type Parameters

    • T

    Parameters

    • promiseOrValueFactory: (() => Awaitable<T>)

      can be a promise or a value factory, a value or a promise that will be invoked immediately

      -
    • Optional updateNow: boolean

    Returns FactoryModelState<T>

  • Properties

    #currentPromise?: CancellablePromise<void>
    #postHandlers: Record<string, EventHandler<Undefinable<T>>>
    #preHandlers: Record<string, EventHandler<Undefinable<T>>>
    #updatedEvent: Event<Undefinable<T>>
    #updater: (() => Promise<void>)

    Type declaration

      • (): Promise<void>
      • Returns Promise<void>

    #updatingEvent: Event<Undefinable<T>>
    #value: Undefinable<T>

    Accessors

    Methods

    • Creates a subscription to the ModelState that will be called when +

    • Optional updateNow: boolean

    Returns FactoryModelState<T>

    Properties

    #currentPromise?: CancellablePromise<void>
    #postHandlers: Record<string, EventHandler<Undefinable<T>>>
    #preHandlers: Record<string, EventHandler<Undefinable<T>>>
    #updatedEvent: Event<Undefinable<T>>
    #updater: (() => Promise<void>)

    Type declaration

      • (): Promise<void>
      • Returns Promise<void>

    #updatingEvent: Event<Undefinable<T>>
    #value: Undefinable<T>

    Accessors

    Methods

    • Creates a subscription to the ModelState that will be called when the state is updated.

      Parameters

      • postCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      • Optional preCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      Returns string

      A symbol that must saved to unsubscribe from the ModelState

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/ModelState.ModelState.html b/docs/api/classes/ModelState.ModelState.html index 16d87e5..2779d98 100644 --- a/docs/api/classes/ModelState.ModelState.html +++ b/docs/api/classes/ModelState.ModelState.html @@ -1,5 +1,5 @@ ModelState | @michaelcoxon/utilities

    Provides a mutatable state that can update registered components to the state

    -

    Type Parameters

    • T

    Hierarchy

    Implements

    • IModelState<T>

    Constructors

    Type Parameters

    • T

    Hierarchy

    Implements

    • IModelState<T>

    Constructors

    Properties

    Constructors

    Properties

    #postHandlers: Record<string, EventHandler<Undefinable<T>>>
    #preHandlers: Record<string, EventHandler<Undefinable<T>>>
    #updatedEvent: Event<Undefinable<T>>
    #updatingEvent: Event<Undefinable<T>>
    #value: Undefinable<T>

    Accessors

    Methods

    • Creates a subscription to the ModelState that will be called when +

    Returns ModelState<T>

    Properties

    #postHandlers: Record<string, EventHandler<Undefinable<T>>>
    #preHandlers: Record<string, EventHandler<Undefinable<T>>>
    #updatedEvent: Event<Undefinable<T>>
    #updatingEvent: Event<Undefinable<T>>
    #value: Undefinable<T>

    Accessors

    Methods

    • Creates a subscription to the ModelState that will be called when the state is updated.

      Parameters

      • postCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      • Optional preCallback: ((value) => void)
          • (value): void
          • Parameters

            Returns void

      Returns string

      A symbol that must saved to unsubscribe from the ModelState

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/ModelState.PollingModelState.html b/docs/api/classes/ModelState.PollingModelState.html index c55fbf7..8620f86 100644 --- a/docs/api/classes/ModelState.PollingModelState.html +++ b/docs/api/classes/ModelState.PollingModelState.html @@ -1,5 +1,5 @@ PollingModelState | @michaelcoxon/utilities

    interface for disposable objects

    -

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Type Parameters

    • T

    Hierarchy

    Implements

    Constructors

    Properties

    Constructors

    Returns PollingModelState<T>

  • Creates a new PollingModelState

    Type Parameters

    • T

    Parameters

    • promiseFactory: (() => Promise<T>)

      can be a promise factory

      -
        • (): Promise<T>
        • Returns Promise<T>

    • timeout: number

    Returns PollingModelState<T>

  • Creates a new PollingModelState

    +
      • (): Promise<T>
      • Returns Promise<T>

  • timeout: number
  • Returns PollingModelState<T>

  • Creates a new PollingModelState

    Type Parameters

    • T

    Parameters

    • promiseOrValueFactory: (() => Awaitable<T>)

      can be a promise or a value factory, a value or a promise that will be invoked immediately

      -
    • timeout: number

    Returns PollingModelState<T>

  • Properties

    #postHandlers: Record<string, EventHandler<Undefinable<T>>>
    #preHandlers: Record<string, EventHandler<Undefinable<T>>>
    #timeout?: any
    #updatedEvent: Event<Undefinable<T>>
    #updatingEvent: Event<Undefinable<T>>
    #value: Undefinable<T>

    Accessors

    Methods

    • Creates a subscription to the ModelState that will be called when +

    • timeout: number

    Returns PollingModelState<T>

    Properties

    #postHandlers: Record<string, EventHandler<Undefinable<T>>>
    #preHandlers: Record<string, EventHandler<Undefinable<T>>>
    #timeout?: any
    #updatedEvent: Event<Undefinable<T>>
    #updatingEvent: Event<Undefinable<T>>
    #value: Undefinable<T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Numbers.Byte.html b/docs/api/classes/Numbers.Byte.html index fd6cb8b..dbda90c 100644 --- a/docs/api/classes/Numbers.Byte.html +++ b/docs/api/classes/Numbers.Byte.html @@ -1,5 +1,5 @@ Byte | @michaelcoxon/utilities

    Represents an unsigned 8-bit integer.

    -

    Hierarchy

    • Number
      • Byte

    Implements

    Constructors

    Hierarchy

    • Number
      • Byte

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 +

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 that is representable as a Number value, which is approximately: 2.2204460492503130808472633361816 x 10‍−‍16.

    MAX_SAFE_INTEGER: number

    The value of the largest integer n such that n and n + 1 are both exactly representable as @@ -44,8 +44,8 @@

    POSITIVE_INFINITY: number

    A value greater than the largest number that can be represented in JavaScript. JavaScript displays POSITIVE_INFINITY values as infinity.

    maxValue: number = 255

    The largest number that can be represented. Equal to 255.

    -
    minValue: number = 0

    The lowest number that can be represented. Equal to 0.

    -

    Methods

    • Returns a string containing a number represented in exponential notation.

      +
    minValue: number = 0

    The lowest number that can be represented. Equal to 0.

    +

    Methods

    • Returns a string containing a number represented in exponential notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

      Returns string

    • Returns a string representing a number in fixed-point notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

        @@ -57,7 +57,7 @@
      • Optional options: NumberFormatOptions

        An object that contains one or more properties that specify comparison options.

      Returns string

    • Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

      Parameters

      • Optional precision: number

        Number of significant digits. Must be in the range 1 - 21, inclusive.

        -

      Returns string

    • Returns true if passed value is finite. +

    Returns string

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Numbers.Int16.html b/docs/api/classes/Numbers.Int16.html index a140c97..d214915 100644 --- a/docs/api/classes/Numbers.Int16.html +++ b/docs/api/classes/Numbers.Int16.html @@ -1,4 +1,4 @@ -Int16 | @michaelcoxon/utilities

    Hierarchy

    • Number
      • Int16

    Implements

    Constructors

    constructor +Int16 | @michaelcoxon/utilities

    Hierarchy

    • Number
      • Int16

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 +

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 that is representable as a Number value, which is approximately: 2.2204460492503130808472633361816 x 10‍−‍16.

    MAX_SAFE_INTEGER: number

    The value of the largest integer n such that n and n + 1 are both exactly representable as @@ -43,8 +43,8 @@

    POSITIVE_INFINITY: number

    A value greater than the largest number that can be represented in JavaScript. JavaScript displays POSITIVE_INFINITY values as infinity.

    maxValue: number = 32767

    The largest number that can be represented. Equal to 32767.

    -
    minValue: number = -32768

    The lowest number that can be represented. Equal to -32768.

    -

    Methods

    minValue: number = -32768

    The lowest number that can be represented. Equal to -32768.

    +

    Methods

    • Returns a string containing a number represented in exponential notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

      Returns string

    • Returns a string representing a number in fixed-point notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

        @@ -56,7 +56,7 @@
      • Optional options: NumberFormatOptions

        An object that contains one or more properties that specify comparison options.

      Returns string

    • Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

      Parameters

      • Optional precision: number

        Number of significant digits. Must be in the range 1 - 21, inclusive.

        -

      Returns string

    • Returns true if passed value is finite. +

    Returns string

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Numbers.Int32.html b/docs/api/classes/Numbers.Int32.html index f65ebc4..de1ed1a 100644 --- a/docs/api/classes/Numbers.Int32.html +++ b/docs/api/classes/Numbers.Int32.html @@ -1,4 +1,4 @@ -Int32 | @michaelcoxon/utilities

    Hierarchy

    • Number
      • Int32

    Implements

    Constructors

    constructor +Int32 | @michaelcoxon/utilities

    Hierarchy

    • Number
      • Int32

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 +

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 that is representable as a Number value, which is approximately: 2.2204460492503130808472633361816 x 10‍−‍16.

    MAX_SAFE_INTEGER: number

    The value of the largest integer n such that n and n + 1 are both exactly representable as @@ -43,8 +43,8 @@

    POSITIVE_INFINITY: number

    A value greater than the largest number that can be represented in JavaScript. JavaScript displays POSITIVE_INFINITY values as infinity.

    maxValue: number = 2147483647

    The largest number that can be represented. Equal to 2,147,483,647.

    -
    minValue: number = -2147483648

    The lowest number that can be represented. Equal to -2,147,483,648.

    -

    Methods

    minValue: number = -2147483648

    The lowest number that can be represented. Equal to -2,147,483,648.

    +

    Methods

    • Returns a string containing a number represented in exponential notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

      Returns string

    • Returns a string representing a number in fixed-point notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

        @@ -58,7 +58,7 @@

        Parameters

        • Optional precision: number

          Number of significant digits. Must be in the range 1 - 21, inclusive.

        Returns string

    • Returns a string representation of an object.

      Parameters

      • Optional radix: number

        Specifies a radix for converting numeric values to strings. This value is only used for numbers.

        -

      Returns string

    • Returns true if passed value is finite. +

    Returns string

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Numbers.SignedByte.html b/docs/api/classes/Numbers.SignedByte.html index ad7f6a2..758427c 100644 --- a/docs/api/classes/Numbers.SignedByte.html +++ b/docs/api/classes/Numbers.SignedByte.html @@ -1,4 +1,4 @@ -SignedByte | @michaelcoxon/utilities

    Hierarchy

    • Number
      • SignedByte

    Implements

    Constructors

    constructor +SignedByte | @michaelcoxon/utilities

    Hierarchy

    • Number
      • SignedByte

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 +

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 that is representable as a Number value, which is approximately: 2.2204460492503130808472633361816 x 10‍−‍16.

    MAX_SAFE_INTEGER: number

    The value of the largest integer n such that n and n + 1 are both exactly representable as @@ -43,8 +43,8 @@

    POSITIVE_INFINITY: number

    A value greater than the largest number that can be represented in JavaScript. JavaScript displays POSITIVE_INFINITY values as infinity.

    maxValue: number = 127

    The largest number that can be represented. Equal to 127.

    -
    minValue: number = -127

    The lowest number that can be represented. Equal to -127.

    -

    Methods

    minValue: number = -127

    The lowest number that can be represented. Equal to -127.

    +

    Methods

    • Returns a string containing a number represented in exponential notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

      Returns string

    • Returns a string representing a number in fixed-point notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

        @@ -56,7 +56,7 @@
      • Optional options: NumberFormatOptions

        An object that contains one or more properties that specify comparison options.

      Returns string

    • Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

      Parameters

      • Optional precision: number

        Number of significant digits. Must be in the range 1 - 21, inclusive.

        -

      Returns string

    • Returns true if passed value is finite. +

    Returns string

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Numbers.UnsignedInt16.html b/docs/api/classes/Numbers.UnsignedInt16.html index 6a4e27b..add8cab 100644 --- a/docs/api/classes/Numbers.UnsignedInt16.html +++ b/docs/api/classes/Numbers.UnsignedInt16.html @@ -1,4 +1,4 @@ -UnsignedInt16 | @michaelcoxon/utilities

    Hierarchy

    • Number
      • UnsignedInt16

    Implements

    Constructors

    constructor +UnsignedInt16 | @michaelcoxon/utilities

    Hierarchy

    • Number
      • UnsignedInt16

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 +

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 that is representable as a Number value, which is approximately: 2.2204460492503130808472633361816 x 10‍−‍16.

    MAX_SAFE_INTEGER: number

    The value of the largest integer n such that n and n + 1 are both exactly representable as @@ -43,8 +43,8 @@

    POSITIVE_INFINITY: number

    A value greater than the largest number that can be represented in JavaScript. JavaScript displays POSITIVE_INFINITY values as infinity.

    maxValue: number = 65535

    The largest number that can be represented. Equal to 65,535.

    -
    minValue: number = 0

    The lowest number that can be represented. Equal to 0.

    -

    Methods

    minValue: number = 0

    The lowest number that can be represented. Equal to 0.

    +

    Methods

    • Returns a string containing a number represented in exponential notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

      Returns string

    • Returns a string representing a number in fixed-point notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

        @@ -56,7 +56,7 @@
      • Optional options: NumberFormatOptions

        An object that contains one or more properties that specify comparison options.

      Returns string

    • Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

      Parameters

      • Optional precision: number

        Number of significant digits. Must be in the range 1 - 21, inclusive.

        -

      Returns string

    • Returns true if passed value is finite. +

    Returns string

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Numbers.UnsignedInt32.html b/docs/api/classes/Numbers.UnsignedInt32.html index 6fef5c7..bd87279 100644 --- a/docs/api/classes/Numbers.UnsignedInt32.html +++ b/docs/api/classes/Numbers.UnsignedInt32.html @@ -1,4 +1,4 @@ -UnsignedInt32 | @michaelcoxon/utilities

    Hierarchy

    • Number
      • UnsignedInt32

    Implements

    Constructors

    constructor +UnsignedInt32 | @michaelcoxon/utilities

    Hierarchy

    • Number
      • UnsignedInt32

    Implements

    Constructors

    Properties

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 +

    Constructors

    Properties

    #value: number
    EPSILON: number

    The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 that is representable as a Number value, which is approximately: 2.2204460492503130808472633361816 x 10‍−‍16.

    MAX_SAFE_INTEGER: number

    The value of the largest integer n such that n and n + 1 are both exactly representable as @@ -43,8 +43,8 @@

    POSITIVE_INFINITY: number

    A value greater than the largest number that can be represented in JavaScript. JavaScript displays POSITIVE_INFINITY values as infinity.

    maxValue: number = 4294967295

    The largest number that can be represented. Equal to 4,294,967,295.

    -
    minValue: number = 0

    The lowest number that can be represented. Equal to 0.

    -

    Methods

    minValue: number = 0

    The lowest number that can be represented. Equal to 0.

    +

    Methods

    • Returns a string containing a number represented in exponential notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

      Returns string

    • Returns a string representing a number in fixed-point notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

        @@ -56,7 +56,7 @@
      • Optional options: NumberFormatOptions

        An object that contains one or more properties that specify comparison options.

      Returns string

    • Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

      Parameters

      • Optional precision: number

        Number of significant digits. Must be in the range 1 - 21, inclusive.

        -

      Returns string

    • Returns true if passed value is finite. +

    Returns string

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Pipeline.Pipeline.html b/docs/api/classes/Pipeline.Pipeline.html index eb8200e..cc8264a 100644 --- a/docs/api/classes/Pipeline.Pipeline.html +++ b/docs/api/classes/Pipeline.Pipeline.html @@ -1,7 +1,7 @@ -Pipeline | @michaelcoxon/utilities

    Hierarchy

    • Pipeline

    Implements

    Constructors

    constructor +Pipeline | @michaelcoxon/utilities

    Hierarchy

    • Pipeline

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    #logger: ILogger
    #queue: IPipelineTask[]

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #logger: ILogger
    #queue: IPipelineTask[]

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Promises.AsyncWrapper.html b/docs/api/classes/Promises.AsyncWrapper.html index c642c03..c76e78e 100644 --- a/docs/api/classes/Promises.AsyncWrapper.html +++ b/docs/api/classes/Promises.AsyncWrapper.html @@ -1,7 +1,7 @@ AsyncWrapper | @michaelcoxon/utilities

    The AsyncWrapper is provided to monitor the state of a promise. You can use this to provide state feedback to the user of an awaitable method.

    -

    Type Parameters

    • T

    Hierarchy

    • AsyncWrapper

    Constructors

    Type Parameters

    • T

    Hierarchy

    • AsyncWrapper

    Constructors

    Properties

    #awaitable #callback #complete @@ -20,23 +20,23 @@

    Methods

    Constructors

    Returns AsyncWrapper<T>

  • Creates a new AsyncWrapper

    Type Parameters

    • T

    Parameters

    • promiseOrValue: Awaitable<T>

      can be a promise or a value

    • callback: ((asyncWrapper) => void)

      the callback that should be applied after the promise is resolved

      -
        • (asyncWrapper): void
        • Parameters

          Returns void

    Returns AsyncWrapper<T>

  • Creates a new AsyncWrapper

    +
      • (asyncWrapper): void
      • Parameters

        Returns void

  • Returns AsyncWrapper<T>

  • Creates a new AsyncWrapper

    Type Parameters

    • T

    Parameters

    • promiseFactory: (() => Awaitable<T>)

      can be a promise or a value factory that will be invoked immediately

      -

    Returns AsyncWrapper<T>

  • Creates a new AsyncWrapper

    +
  • Returns AsyncWrapper<T>

  • Creates a new AsyncWrapper

    Type Parameters

    Parameters

    Returns AsyncWrapper<T>

  • Creates a new AsyncWrapper

    +
  • Returns AsyncWrapper<T>

  • Creates a new AsyncWrapper

    Type Parameters

    Parameters

    Returns AsyncWrapper<T>

  • Properties

    #awaitable: Promise<any>
    #callback: undefined | ((asyncWrapper) => void)

    Type declaration

      • (asyncWrapper): void
      • Parameters

        Returns void

    #complete: boolean
    #completeEvent: SingleInvokeEvent<Undefinable<T>>
    #error: any
    #promise?: Promise<T>
    #promiseOrValueOrFactory: undefined | Awaitable<T> | (() => Awaitable<T>)

    Type declaration

    #success: boolean
    #value: Undefinable<T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Returns AsyncWrapper<T>

    Properties

    #awaitable: Promise<any>
    #callback: undefined | ((asyncWrapper) => void)

    Type declaration

      • (asyncWrapper): void
      • Parameters

        Returns void

    #complete: boolean
    #completeEvent: SingleInvokeEvent<Undefinable<T>>
    #error: any
    #promise?: Promise<T>
    #promiseOrValueOrFactory: undefined | Awaitable<T> | (() => Awaitable<T>)

    Type declaration

    #success: boolean
    #value: Undefinable<T>

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Promises.CancellablePromise.html b/docs/api/classes/Promises.CancellablePromise.html index e31f93a..ba79237 100644 --- a/docs/api/classes/Promises.CancellablePromise.html +++ b/docs/api/classes/Promises.CancellablePromise.html @@ -1,4 +1,4 @@ -CancellablePromise | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • CancellablePromise

    Implements

    • PromiseLike<T>

    Constructors

    constructor +CancellablePromise | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • CancellablePromise

    Implements

    • PromiseLike<T>

    Constructors

    Properties

    #cancellationTokenSource: CancellationTokenSource
    #finallyEvent: SingleInvokeEvent<{
        cancelled: boolean;
        promise: PromiseLike<T>;
    }> = ...

    Type declaration

    • cancelled: boolean
    • promise: PromiseLike<T>
    #watcherPromise: Promise<T>

    Accessors

    Methods

    • Type Parameters

      • TResult1 = T

      • TResult2 = never

      Parameters

      • Optional onfulfilled: null | ((value) => TResult1 | PromiseLike<TResult1>)
      • Optional onrejected: null | ((reason) => TResult2 | PromiseLike<TResult2>)

      Returns CancellablePromise<TResult1 | TResult2>

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #cancellationTokenSource: CancellationTokenSource
    #finallyEvent: SingleInvokeEvent<{
        cancelled: boolean;
        promise: PromiseLike<T>;
    }> = ...

    Type declaration

    • cancelled: boolean
    • promise: PromiseLike<T>
    #watcherPromise: Promise<T>

    Accessors

    Methods

    • Type Parameters

      • TResult1 = T

      • TResult2 = never

      Parameters

      • Optional onfulfilled: null | ((value) => TResult1 | PromiseLike<TResult1>)
      • Optional onrejected: null | ((reason) => TResult2 | PromiseLike<TResult2>)

      Returns CancellablePromise<TResult1 | TResult2>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Promises.CancellationToken.html b/docs/api/classes/Promises.CancellationToken.html index 107ce5f..e74482d 100644 --- a/docs/api/classes/Promises.CancellationToken.html +++ b/docs/api/classes/Promises.CancellationToken.html @@ -1,7 +1,7 @@ -CancellationToken | @michaelcoxon/utilities

    Hierarchy

    • CancellationToken

    Constructors

    constructor +CancellationToken | @michaelcoxon/utilities

    Hierarchy

    • CancellationToken

    Constructors

    Properties

    #cancelled: boolean = false
    #onCancelled: SingleInvokeEvent<undefined> = ...
    default: CancellationToken = ...

    Accessors

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #cancelled: boolean = false
    #onCancelled: SingleInvokeEvent<undefined> = ...
    default: CancellationToken = ...

    Accessors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Promises.CancellationTokenSource.html b/docs/api/classes/Promises.CancellationTokenSource.html index 734e9bf..c109b61 100644 --- a/docs/api/classes/Promises.CancellationTokenSource.html +++ b/docs/api/classes/Promises.CancellationTokenSource.html @@ -1,4 +1,4 @@ -CancellationTokenSource | @michaelcoxon/utilities

    Hierarchy

    • CancellationTokenSource

    Constructors

    constructor +CancellationTokenSource | @michaelcoxon/utilities

    Hierarchy

    • CancellationTokenSource

    Constructors

    Properties

    Methods

    Constructors

    Properties

    #cancelled: boolean = false
    #cancelledEvent: SingleInvokeEvent<undefined> = ...
    #timeoutables: any[] = []

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #cancelled: boolean = false
    #cancelledEvent: SingleInvokeEvent<undefined> = ...
    #timeoutables: any[] = []

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/QueryStringCollection.html b/docs/api/classes/QueryStringCollection.html index daa652e..b4f6588 100644 --- a/docs/api/classes/QueryStringCollection.html +++ b/docs/api/classes/QueryStringCollection.html @@ -1,4 +1,4 @@ -QueryStringCollection | @michaelcoxon/utilities

    Hierarchy

    • QueryStringCollection

    Constructors

    constructor +QueryStringCollection | @michaelcoxon/utilities

    Hierarchy

    • QueryStringCollection

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    #items: QueryStringItem[]

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #items: QueryStringItem[]

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Result.Result.html b/docs/api/classes/Result.Result.html index a3054c7..ca0f0cd 100644 --- a/docs/api/classes/Result.Result.html +++ b/docs/api/classes/Result.Result.html @@ -1,6 +1,6 @@ Result | @michaelcoxon/utilities

    Class Result<T, TPreviousResult>

    Encapsulates a value allowing for returning an envelope that contains the possible outcomes of a method.

    -

    Type Parameters

    • T = Record<string, any>

    • TPreviousResult extends IResultBase = never

    Hierarchy

    • Result

    Implements

    Constructors

    Type Parameters

    • T = Record<string, any>

    • TPreviousResult extends IResultBase = never

    Hierarchy

    • Result

    Implements

    Constructors

    Properties

    Methods

    Constructors

    • Type Parameters

      • T = Record<string, any>

      • TPreviousResult extends IResultBase<never, TPreviousResult> = never

      Parameters

      • success: boolean
      • Optional value: T
      • Optional error: string
      • Optional previousResult: TPreviousResult

      Returns Result<T, TPreviousResult>

    Properties

    #error?: string
    #previousResult?: TPreviousResult
    #success: boolean
    #value?: T

    Accessors

    Methods

    • Type Parameters

      • T

      • TPreviousResult extends IResultBase<never, TPreviousResult> = never

      Parameters

      • Optional error: string
      • Optional value: T
      • Optional previousResult: TPreviousResult

      Returns IResult<T, TPreviousResult>

    • Type Parameters

      • T

      • TPreviousResult extends IResultBase<never, TPreviousResult> = never

      Parameters

      • Optional value: T
      • Optional previousResult: TPreviousResult

      Returns IResult<T, TPreviousResult>

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #error?: string
    #previousResult?: TPreviousResult
    #success: boolean
    #value?: T

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Storage.StorageRepository.html b/docs/api/classes/Storage.StorageRepository.html index 8c77b24..6453dc0 100644 --- a/docs/api/classes/Storage.StorageRepository.html +++ b/docs/api/classes/Storage.StorageRepository.html @@ -1,7 +1,7 @@ -StorageRepository | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • StorageRepository

    Implements

    Constructors

    constructor +StorageRepository | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • StorageRepository

    Implements

    Constructors

    Properties

    Methods

    Constructors

    Properties

    #name: string
    #storage: Storage

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #name: string
    #storage: Storage

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Type.Type.html b/docs/api/classes/Type.Type.html index 8bf3cc4..ca9b6f2 100644 --- a/docs/api/classes/Type.Type.html +++ b/docs/api/classes/Type.Type.html @@ -1,4 +1,4 @@ -Type | @michaelcoxon/utilities

    Hierarchy

    • Type

    Constructors

    constructor +Type | @michaelcoxon/utilities

    Hierarchy

    • Type

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get typeResolvers(): ((subject) => {
          success: boolean;
          type?: IType;
      })[]
    • Returns ((subject) => {
          success: boolean;
          type?: IType;
      })[]

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Accessors

    • get typeResolvers(): ((subject) => {
          success: boolean;
          type?: IType;
      })[]
    • Returns ((subject) => {
          success: boolean;
          type?: IType;
      })[]

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Type.TypeBuilder.html b/docs/api/classes/Type.TypeBuilder.html index 32c24de..4f90601 100644 --- a/docs/api/classes/Type.TypeBuilder.html +++ b/docs/api/classes/Type.TypeBuilder.html @@ -1,4 +1,4 @@ -TypeBuilder | @michaelcoxon/utilities

    Hierarchy

    • TypeBuilder

    Constructors

    constructor +TypeBuilder | @michaelcoxon/utilities

    Hierarchy

    • TypeBuilder

    Constructors

    Properties

    Methods

    Constructors

    Properties

    #baseType: IType = ...
    #factory: ((...args) => any) = ...

    Type declaration

      • (...args): any
      • Parameters

        • Rest ...args: any[]

        Returns any

    #isArray: boolean = false
    #name: string = ''
    #namespace: string = ''
    deriveFrom: ((type) => TypeBuilder) = ...

    Type declaration

    factory?: ((constructor) => TypeBuilder) = ...

    Type declaration

      • (constructor): TypeBuilder
      • Parameters

        • constructor: (new <T, TArgs>(...args) => T)
            • new <T, TArgs>(...args): T
            • Type Parameters

              • T

              • TArgs = keyof T

              Parameters

              • Rest ...args: TArgs[]

              Returns T

        Returns TypeBuilder

    setName: ((name) => TypeBuilder) = ...

    Type declaration

    setNamespace: ((namespace) => TypeBuilder) = ...

    Type declaration

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    #baseType: IType = ...
    #factory: ((...args) => any) = ...

    Type declaration

      • (...args): any
      • Parameters

        • Rest ...args: any[]

        Returns any

    #isArray: boolean = false
    #name: string = ''
    #namespace: string = ''
    deriveFrom: ((type) => TypeBuilder) = ...

    Type declaration

    factory?: ((constructor) => TypeBuilder) = ...

    Type declaration

      • (constructor): TypeBuilder
      • Parameters

        • constructor: (new <T, TArgs>(...args) => T)
            • new <T, TArgs>(...args): T
            • Type Parameters

              • T

              • TArgs = keyof T

              Parameters

              • Rest ...args: TArgs[]

              Returns T

        Returns TypeBuilder

    setName: ((name) => TypeBuilder) = ...

    Type declaration

    setNamespace: ((namespace) => TypeBuilder) = ...

    Type declaration

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/classes/Url.html b/docs/api/classes/Url.html index b9b81b3..1ac28fd 100644 --- a/docs/api/classes/Url.html +++ b/docs/api/classes/Url.html @@ -1,5 +1,5 @@ Url | @michaelcoxon/utilities

    Defines a Url

    -

    Hierarchy

    • Url

    Constructors

    Hierarchy

    • Url

    Constructors

    Properties

    Accessors

    query @@ -8,6 +8,6 @@

    Constructors

    • Creates a new Url

      Parameters

      • baseUrl: string | Url

        The Url to base this instance off of

      • Optional queryStringObject: Record<string, any>

        Query string items as a plain object to add/update on the base Url. Set an item to undefined | null to remove it.

        -

      Returns Url

    Properties

    #url: string

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Returns Url

    Properties

    #url: string

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/enums/Logging.LogLevel.html b/docs/api/enums/Logging.LogLevel.html index e3b7e05..ad50453 100644 --- a/docs/api/enums/Logging.LogLevel.html +++ b/docs/api/enums/Logging.LogLevel.html @@ -1,12 +1,12 @@ LogLevel | @michaelcoxon/utilities

    The log level. Used for filtering and tagging logging events

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    Debug: "DEBG"

    Debug. Should only be used for logging to help development

    -
    Error: "EROR"

    Error. Used to log out errors and exceptions

    -
    Info: "INFO"

    Informational. Used to provide runtime information

    -
    Trace: "TRCE"

    Trace. Used to log program flow

    -
    Warn: "WARN"

    Warning. Used to log errors and exceptions that do not break the program but need to be klnown about

    -

    Generated using TypeDoc

    \ No newline at end of file +
    Error: "EROR"

    Error. Used to log out errors and exceptions

    +
    Info: "INFO"

    Informational. Used to provide runtime information

    +
    Trace: "TRCE"

    Trace. Used to log program flow

    +
    Warn: "WARN"

    Warning. Used to log errors and exceptions that do not break the program but need to be klnown about

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.all.html b/docs/api/functions/Arrays.all.html index 8ad87bd..bce9131 100644 --- a/docs/api/functions/Arrays.all.html +++ b/docs/api/functions/Arrays.all.html @@ -1 +1 @@ -all | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +all | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.any.html b/docs/api/functions/Arrays.any.html index 450fc65..ed8475f 100644 --- a/docs/api/functions/Arrays.any.html +++ b/docs/api/functions/Arrays.any.html @@ -1 +1 @@ -any | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +any | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.average.html b/docs/api/functions/Arrays.average.html index fbbb6df..8f9ce07 100644 --- a/docs/api/functions/Arrays.average.html +++ b/docs/api/functions/Arrays.average.html @@ -1,2 +1,2 @@ average | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns number

  • Type Parameters

    Parameters

    Returns number

  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.contains.html b/docs/api/functions/Arrays.contains.html index 622616f..9719a40 100644 --- a/docs/api/functions/Arrays.contains.html +++ b/docs/api/functions/Arrays.contains.html @@ -1 +1 @@ -contains | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +contains | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.count.html b/docs/api/functions/Arrays.count.html index 954ff7c..e83fda9 100644 --- a/docs/api/functions/Arrays.count.html +++ b/docs/api/functions/Arrays.count.html @@ -1 +1 @@ -count | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +count | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.distinct.html b/docs/api/functions/Arrays.distinct.html index 7804aa9..f8e3899 100644 --- a/docs/api/functions/Arrays.distinct.html +++ b/docs/api/functions/Arrays.distinct.html @@ -1 +1 @@ -distinct | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +distinct | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.first.html b/docs/api/functions/Arrays.first.html index 828b524..355da15 100644 --- a/docs/api/functions/Arrays.first.html +++ b/docs/api/functions/Arrays.first.html @@ -1 +1 @@ -first | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +first | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.firstOrDefault.html b/docs/api/functions/Arrays.firstOrDefault.html index 58dedb6..28bbcab 100644 --- a/docs/api/functions/Arrays.firstOrDefault.html +++ b/docs/api/functions/Arrays.firstOrDefault.html @@ -1 +1 @@ -firstOrDefault | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +firstOrDefault | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.forEach.html b/docs/api/functions/Arrays.forEach.html index b6cc031..d0b5aae 100644 --- a/docs/api/functions/Arrays.forEach.html +++ b/docs/api/functions/Arrays.forEach.html @@ -1 +1 @@ -forEach | @michaelcoxon/utilities
    • Type Parameters

      • T

      Parameters

      • array: T[]
      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +forEach | @michaelcoxon/utilities
    • Type Parameters

      • T

      Parameters

      • array: T[]
      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.groupBy.html b/docs/api/functions/Arrays.groupBy.html index 5089828..c9fc775 100644 --- a/docs/api/functions/Arrays.groupBy.html +++ b/docs/api/functions/Arrays.groupBy.html @@ -1 +1 @@ -groupBy | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +groupBy | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.item.html b/docs/api/functions/Arrays.item.html index 77aedf1..daeab1a 100644 --- a/docs/api/functions/Arrays.item.html +++ b/docs/api/functions/Arrays.item.html @@ -1 +1 @@ -item | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +item | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.last.html b/docs/api/functions/Arrays.last.html index eea56bb..e1c3fd6 100644 --- a/docs/api/functions/Arrays.last.html +++ b/docs/api/functions/Arrays.last.html @@ -1 +1 @@ -last | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +last | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.lastOrDefault.html b/docs/api/functions/Arrays.lastOrDefault.html index 5c87e29..f8104d6 100644 --- a/docs/api/functions/Arrays.lastOrDefault.html +++ b/docs/api/functions/Arrays.lastOrDefault.html @@ -1 +1 @@ -lastOrDefault | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +lastOrDefault | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.max.html b/docs/api/functions/Arrays.max.html index db446b5..4617bb7 100644 --- a/docs/api/functions/Arrays.max.html +++ b/docs/api/functions/Arrays.max.html @@ -1 +1 @@ -max | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +max | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.min.html b/docs/api/functions/Arrays.min.html index 0167a23..4c00cd5 100644 --- a/docs/api/functions/Arrays.min.html +++ b/docs/api/functions/Arrays.min.html @@ -1 +1 @@ -min | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +min | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.ofType.html b/docs/api/functions/Arrays.ofType.html index 243ddcc..09a6cc7 100644 --- a/docs/api/functions/Arrays.ofType.html +++ b/docs/api/functions/Arrays.ofType.html @@ -1 +1 @@ -ofType | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +ofType | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.orderBy.html b/docs/api/functions/Arrays.orderBy.html index e9f6281..33ca578 100644 --- a/docs/api/functions/Arrays.orderBy.html +++ b/docs/api/functions/Arrays.orderBy.html @@ -1 +1 @@ -orderBy | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +orderBy | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.orderByDescending.html b/docs/api/functions/Arrays.orderByDescending.html index 85692df..6e5c9ba 100644 --- a/docs/api/functions/Arrays.orderByDescending.html +++ b/docs/api/functions/Arrays.orderByDescending.html @@ -1 +1 @@ -orderByDescending | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +orderByDescending | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.range.html b/docs/api/functions/Arrays.range.html index 7f028ca..a1e971a 100644 --- a/docs/api/functions/Arrays.range.html +++ b/docs/api/functions/Arrays.range.html @@ -1,4 +1,4 @@ range | @michaelcoxon/utilities
    • Returns an array of the range of numbers from the start number for the specified length

      Parameters

      • start: number

        the start number

      • length: number

        the specified length

        -

      Returns number[]

    Generated using TypeDoc

    \ No newline at end of file +

    Returns number[]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.select.html b/docs/api/functions/Arrays.select.html index e5512da..2992c07 100644 --- a/docs/api/functions/Arrays.select.html +++ b/docs/api/functions/Arrays.select.html @@ -1 +1 @@ -select | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +select | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.selectMany.html b/docs/api/functions/Arrays.selectMany.html index 46829bb..67d1d54 100644 --- a/docs/api/functions/Arrays.selectMany.html +++ b/docs/api/functions/Arrays.selectMany.html @@ -1 +1 @@ -selectMany | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +selectMany | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.sequenceEqual.html b/docs/api/functions/Arrays.sequenceEqual.html index 4e70169..94326a8 100644 --- a/docs/api/functions/Arrays.sequenceEqual.html +++ b/docs/api/functions/Arrays.sequenceEqual.html @@ -2,4 +2,4 @@

    Type Parameters

    Parameters

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.single.html b/docs/api/functions/Arrays.single.html index 735e8f8..019bf94 100644 --- a/docs/api/functions/Arrays.single.html +++ b/docs/api/functions/Arrays.single.html @@ -1 +1 @@ -single | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +single | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.singleOrDefault.html b/docs/api/functions/Arrays.singleOrDefault.html index 47509a2..e76ea33 100644 --- a/docs/api/functions/Arrays.singleOrDefault.html +++ b/docs/api/functions/Arrays.singleOrDefault.html @@ -1 +1 @@ -singleOrDefault | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +singleOrDefault | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.skip.html b/docs/api/functions/Arrays.skip.html index 25241df..2cdb0f1 100644 --- a/docs/api/functions/Arrays.skip.html +++ b/docs/api/functions/Arrays.skip.html @@ -1 +1 @@ -skip | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +skip | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.sum.html b/docs/api/functions/Arrays.sum.html index 6029a4f..3150295 100644 --- a/docs/api/functions/Arrays.sum.html +++ b/docs/api/functions/Arrays.sum.html @@ -1,2 +1,2 @@ sum | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns number

  • Type Parameters

    Parameters

    Returns number

  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.take.html b/docs/api/functions/Arrays.take.html index c6a7e6e..f7d28fe 100644 --- a/docs/api/functions/Arrays.take.html +++ b/docs/api/functions/Arrays.take.html @@ -1 +1 @@ -take | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +take | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Arrays.where.html b/docs/api/functions/Arrays.where.html index 0f1570f..3bc371f 100644 --- a/docs/api/functions/Arrays.where.html +++ b/docs/api/functions/Arrays.where.html @@ -1 +1 @@ -where | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +where | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Booleans.parse.html b/docs/api/functions/Booleans.parse.html index 556d649..bec1f7e 100644 --- a/docs/api/functions/Booleans.parse.html +++ b/docs/api/functions/Booleans.parse.html @@ -1 +1 @@ -parse | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +parse | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Booleans.tryParse.html b/docs/api/functions/Booleans.tryParse.html index 3499d59..c96382a 100644 --- a/docs/api/functions/Booleans.tryParse.html +++ b/docs/api/functions/Booleans.tryParse.html @@ -1 +1 @@ -tryParse | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +tryParse | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Cache.expire-1.html b/docs/api/functions/Cache.expire-1.html index 1263205..0e6c42b 100644 --- a/docs/api/functions/Cache.expire-1.html +++ b/docs/api/functions/Cache.expire-1.html @@ -1 +1 @@ -expire | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +expire | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Configuration.parseKey.html b/docs/api/functions/Configuration.parseKey.html index d8351c7..b1c93da 100644 --- a/docs/api/functions/Configuration.parseKey.html +++ b/docs/api/functions/Configuration.parseKey.html @@ -1 +1 @@ -parseKey | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +parseKey | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/IO.combine.html b/docs/api/functions/IO.combine.html index 20818b3..01f4469 100644 --- a/docs/api/functions/IO.combine.html +++ b/docs/api/functions/IO.combine.html @@ -1,2 +1,2 @@ combine | @michaelcoxon/utilities
    • Combines path segments into a path. Auto-senses 'slash' direction.

      -

      Parameters

      • Rest ...args: string[]

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/IO.getDirectory.html b/docs/api/functions/IO.getDirectory.html index db2d68b..a043a8a 100644 --- a/docs/api/functions/IO.getDirectory.html +++ b/docs/api/functions/IO.getDirectory.html @@ -1,2 +1,2 @@ getDirectory | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/IO.getExtension.html b/docs/api/functions/IO.getExtension.html index 5fd6bd3..9b12cb7 100644 --- a/docs/api/functions/IO.getExtension.html +++ b/docs/api/functions/IO.getExtension.html @@ -1,2 +1,2 @@ getExtension | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/IO.getFileName.html b/docs/api/functions/IO.getFileName.html index 0cdecf0..ca6759b 100644 --- a/docs/api/functions/IO.getFileName.html +++ b/docs/api/functions/IO.getFileName.html @@ -1,2 +1,2 @@ getFileName | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/IO.getFileNameWithoutExtension.html b/docs/api/functions/IO.getFileNameWithoutExtension.html index 12318fd..3e0c836 100644 --- a/docs/api/functions/IO.getFileNameWithoutExtension.html +++ b/docs/api/functions/IO.getFileNameWithoutExtension.html @@ -1,2 +1,2 @@ getFileNameWithoutExtension | @michaelcoxon/utilities

    Function getFileNameWithoutExtension

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/IO.toFriendlyUrl.html b/docs/api/functions/IO.toFriendlyUrl.html index a3a654e..01b78aa 100644 --- a/docs/api/functions/IO.toFriendlyUrl.html +++ b/docs/api/functions/IO.toFriendlyUrl.html @@ -1,6 +1,6 @@ toFriendlyUrl | @michaelcoxon/utilities
    • convert a string into a url friendly version

      -

      Parameters

      • str: string

      Returns string

    • convert a string into a url friendly version

      +

      Parameters

      • str: string

      Returns string

    • convert a string into a url friendly version

      Parameters

      • str: string
      • noTrim: boolean

        if true, it will leave hyphens (-) on the start and end of the url. You probably will never want this.

        -

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Logging.getDefaultLogger.html b/docs/api/functions/Logging.getDefaultLogger.html index aa00254..e7452e0 100644 --- a/docs/api/functions/Logging.getDefaultLogger.html +++ b/docs/api/functions/Logging.getDefaultLogger.html @@ -1 +1 @@ -getDefaultLogger | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +getDefaultLogger | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Logging.loggerScope.html b/docs/api/functions/Logging.loggerScope.html index e41fc05..1db4173 100644 --- a/docs/api/functions/Logging.loggerScope.html +++ b/docs/api/functions/Logging.loggerScope.html @@ -1,2 +1,2 @@ loggerScope | @michaelcoxon/utilities
    • Decorator for setting the logger scope of an ILogger instance

      -

      Parameters

      • name: string

      Returns ((target, key) => void)

        • (target, key): void
        • Parameters

          • target: Record<string, any>
          • key: string

          Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns ((target, key) => void)

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Logging.setDefaultLogger.html b/docs/api/functions/Logging.setDefaultLogger.html index fcbefca..dfecc79 100644 --- a/docs/api/functions/Logging.setDefaultLogger.html +++ b/docs/api/functions/Logging.setDefaultLogger.html @@ -1 +1 @@ -setDefaultLogger | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +setDefaultLogger | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Logging.testLogVerbosity.html b/docs/api/functions/Logging.testLogVerbosity.html index 1f08f34..3e414dc 100644 --- a/docs/api/functions/Logging.testLogVerbosity.html +++ b/docs/api/functions/Logging.testLogVerbosity.html @@ -1,4 +1,4 @@ testLogVerbosity | @michaelcoxon/utilities
    • Returns true if the desired log level is valid for the currently configured logging verbosity

      Parameters

      • desiredLevel: LogLevel

        The log level you want to log at

      • loggingVerbosity: LogLevel

        The cut off for when logging should be hidden

        -

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Numbers.asByte.html b/docs/api/functions/Numbers.asByte.html index 9647715..b9b4a62 100644 --- a/docs/api/functions/Numbers.asByte.html +++ b/docs/api/functions/Numbers.asByte.html @@ -1 +1 @@ -asByte | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +asByte | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Numbers.asInt16.html b/docs/api/functions/Numbers.asInt16.html index cb0127b..cac8d0b 100644 --- a/docs/api/functions/Numbers.asInt16.html +++ b/docs/api/functions/Numbers.asInt16.html @@ -1 +1 @@ -asInt16 | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +asInt16 | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Numbers.asInt32.html b/docs/api/functions/Numbers.asInt32.html index a95cbac..9d48560 100644 --- a/docs/api/functions/Numbers.asInt32.html +++ b/docs/api/functions/Numbers.asInt32.html @@ -1 +1 @@ -asInt32 | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +asInt32 | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Numbers.asSignedByte.html b/docs/api/functions/Numbers.asSignedByte.html index a9a009f..55e3a99 100644 --- a/docs/api/functions/Numbers.asSignedByte.html +++ b/docs/api/functions/Numbers.asSignedByte.html @@ -1 +1 @@ -asSignedByte | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +asSignedByte | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Numbers.asUnsignedInt16.html b/docs/api/functions/Numbers.asUnsignedInt16.html index f8000dd..0a52d58 100644 --- a/docs/api/functions/Numbers.asUnsignedInt16.html +++ b/docs/api/functions/Numbers.asUnsignedInt16.html @@ -1 +1 @@ -asUnsignedInt16 | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +asUnsignedInt16 | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Numbers.asUnsignedInt32.html b/docs/api/functions/Numbers.asUnsignedInt32.html index 24accb3..8c4e046 100644 --- a/docs/api/functions/Numbers.asUnsignedInt32.html +++ b/docs/api/functions/Numbers.asUnsignedInt32.html @@ -1 +1 @@ -asUnsignedInt32 | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +asUnsignedInt32 | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Numbers.isEven.html b/docs/api/functions/Numbers.isEven.html index 0c8f1ed..4c14842 100644 --- a/docs/api/functions/Numbers.isEven.html +++ b/docs/api/functions/Numbers.isEven.html @@ -1 +1 @@ -isEven | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +isEven | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Numbers.isMultipleOf.html b/docs/api/functions/Numbers.isMultipleOf.html index 3a0a3f8..1589efe 100644 --- a/docs/api/functions/Numbers.isMultipleOf.html +++ b/docs/api/functions/Numbers.isMultipleOf.html @@ -1 +1 @@ -isMultipleOf | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +isMultipleOf | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Numbers.isOdd.html b/docs/api/functions/Numbers.isOdd.html index d8efcff..15b017f 100644 --- a/docs/api/functions/Numbers.isOdd.html +++ b/docs/api/functions/Numbers.isOdd.html @@ -1 +1 @@ -isOdd | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +isOdd | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Promises.create.html b/docs/api/functions/Promises.create.html index 0d24ca3..259a0c3 100644 --- a/docs/api/functions/Promises.create.html +++ b/docs/api/functions/Promises.create.html @@ -1,5 +1,5 @@ create | @michaelcoxon/utilities
    • Creates a promise from an action

      -

      Parameters

      • action: (() => void)
          • (): void
          • Returns void

      Returns Promise<void>

    • Creates a promise from a promise factory

      -

      Parameters

      • promiseFactory: (() => Promise<void>)
          • (): Promise<void>
          • Returns Promise<void>

      Returns Promise<void>

    • Creates a promise from a factory

      -

      Type Parameters

      • T

      Parameters

      • factory: (() => T)
          • (): T
          • Returns T

      Returns Promise<T>

    • Creates a promise from a promise factory

      -

      Type Parameters

      • T

      Parameters

      • promiseFactory: (() => Promise<T>)
          • (): Promise<T>
          • Returns Promise<T>

      Returns Promise<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns Promise<void>

  • Creates a promise from a promise factory

    +

    Parameters

    Returns Promise<void>

  • Creates a promise from a factory

    +

    Type Parameters

    Parameters

    Returns Promise<T>

  • Creates a promise from a promise factory

    +

    Type Parameters

    Parameters

    Returns Promise<T>

  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Promises.delay.html b/docs/api/functions/Promises.delay.html index 5500cd8..0531db3 100644 --- a/docs/api/functions/Promises.delay.html +++ b/docs/api/functions/Promises.delay.html @@ -1,2 +1,2 @@ delay | @michaelcoxon/utilities
    • Delays for the number of milliseconds

      -

      Parameters

      • ms: number

      Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Promises.ensurePromise.html b/docs/api/functions/Promises.ensurePromise.html index 965bc30..0e2e69f 100644 --- a/docs/api/functions/Promises.ensurePromise.html +++ b/docs/api/functions/Promises.ensurePromise.html @@ -1,3 +1,3 @@ ensurePromise | @michaelcoxon/utilities
    • Wraps a value in a promise

      -

      Type Parameters

      • T

      Parameters

      • value: T

      Returns Promise<T>

    • Ensures a PromiseLike thing is a promise

      -

      Type Parameters

      • T

      Parameters

      • promise: PromiseLike<T>

      Returns Promise<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns Promise<T>

  • Ensures a PromiseLike thing is a promise

    +

    Type Parameters

    Parameters

    Returns Promise<T>

  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.escapeRegExp.html b/docs/api/functions/Strings.escapeRegExp.html index b0c1567..fce831a 100644 --- a/docs/api/functions/Strings.escapeRegExp.html +++ b/docs/api/functions/Strings.escapeRegExp.html @@ -1 +1 @@ -escapeRegExp | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +escapeRegExp | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.firstCharToLowerCase.html b/docs/api/functions/Strings.firstCharToLowerCase.html index ebb358e..4d339b4 100644 --- a/docs/api/functions/Strings.firstCharToLowerCase.html +++ b/docs/api/functions/Strings.firstCharToLowerCase.html @@ -1 +1 @@ -firstCharToLowerCase | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +firstCharToLowerCase | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.firstCharToUpperCase.html b/docs/api/functions/Strings.firstCharToUpperCase.html index fd10f89..35c8ed1 100644 --- a/docs/api/functions/Strings.firstCharToUpperCase.html +++ b/docs/api/functions/Strings.firstCharToUpperCase.html @@ -1 +1 @@ -firstCharToUpperCase | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +firstCharToUpperCase | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.format.html b/docs/api/functions/Strings.format.html index 3b817a3..24e4e27 100644 --- a/docs/api/functions/Strings.format.html +++ b/docs/api/functions/Strings.format.html @@ -1 +1 @@ -format | @michaelcoxon/utilities
    • Parameters

      • format: string
      • Rest ...args: any[]

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +format | @michaelcoxon/utilities
    • Parameters

      • format: string
      • Rest ...args: any[]

      Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.isNullOrWhitespace.html b/docs/api/functions/Strings.isNullOrWhitespace.html index 4da4e64..bb6b18a 100644 --- a/docs/api/functions/Strings.isNullOrWhitespace.html +++ b/docs/api/functions/Strings.isNullOrWhitespace.html @@ -1,2 +1,2 @@ isNullOrWhitespace | @michaelcoxon/utilities
    • Returns true if the string is undefined, null or whitespace

      -

      Parameters

      • Optional str: null | string

      Returns str is undefined | null

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns str is undefined | null

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.padLeft.html b/docs/api/functions/Strings.padLeft.html index 0d02ac4..b9731bd 100644 --- a/docs/api/functions/Strings.padLeft.html +++ b/docs/api/functions/Strings.padLeft.html @@ -1 +1 @@ -padLeft | @michaelcoxon/utilities
    • Parameters

      • str: string
      • length: number
      • padding: string

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +padLeft | @michaelcoxon/utilities
    • Parameters

      • str: string
      • length: number
      • padding: string

      Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.toCharArray.html b/docs/api/functions/Strings.toCharArray.html index 2eaf049..e982c94 100644 --- a/docs/api/functions/Strings.toCharArray.html +++ b/docs/api/functions/Strings.toCharArray.html @@ -1,2 +1,2 @@ toCharArray | @michaelcoxon/utilities
    • Returns all characters in the string as an array.

      -

      Parameters

      • str: string

      Returns string[]

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns string[]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.trim.html b/docs/api/functions/Strings.trim.html index 0feae2f..75e12fa 100644 --- a/docs/api/functions/Strings.trim.html +++ b/docs/api/functions/Strings.trim.html @@ -1,8 +1,8 @@ trim | @michaelcoxon/utilities
    • Trims the whitespace from the start and end of a string

      Parameters

      • str: string

        The string to trim

        -

      Returns string

    • Trims the specified characters from the start and end of a string

      +

    Returns string

  • Trims the specified characters from the start and end of a string

    Parameters

    • str: string

      The string to trim

    • chars: string

      The set of characters to trim. This treats the characters individually and it will not work if you need to trim a specific string from the start/end.

      -

    Returns string

  • Generated using TypeDoc

    \ No newline at end of file +

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.trimEnd.html b/docs/api/functions/Strings.trimEnd.html index ace1774..cd9d03e 100644 --- a/docs/api/functions/Strings.trimEnd.html +++ b/docs/api/functions/Strings.trimEnd.html @@ -1,8 +1,8 @@ trimEnd | @michaelcoxon/utilities
    • Trims the whitespace from the end of a string

      Parameters

      • str: string

        The string to trim

        -

      Returns string

    • Trims the specified characters from the end of a string

      +

    Returns string

  • Trims the specified characters from the end of a string

    Parameters

    • str: string

      The string to trim

    • chars: string

      The set of characters to trim. This treats the characters individually and it will not work if you need to trim a specific string from the start/end.

      -

    Returns string

  • Generated using TypeDoc

    \ No newline at end of file +

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/Strings.trimStart.html b/docs/api/functions/Strings.trimStart.html index 1d46a05..2c17dc5 100644 --- a/docs/api/functions/Strings.trimStart.html +++ b/docs/api/functions/Strings.trimStart.html @@ -1,6 +1,6 @@ -trimStart | @michaelcoxon/utilities

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/convertToString.html b/docs/api/functions/convertToString.html index 70c7772..479632e 100644 --- a/docs/api/functions/convertToString.html +++ b/docs/api/functions/convertToString.html @@ -1 +1 @@ -convertToString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +convertToString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/createSelector.html b/docs/api/functions/createSelector.html index b6cbba0..99bec1d 100644 --- a/docs/api/functions/createSelector.html +++ b/docs/api/functions/createSelector.html @@ -1,2 +1,2 @@ createSelector | @michaelcoxon/utilities
    • Returns a Selector for the given type.

      -

      Type Parameters

      • T

      • R = T

      • K extends string | number | symbol = keyof T

      Parameters

      • propertyNameOrSelector: K | Selector<T, R>

      Returns Selector<T, R | T[K]>

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns Selector<T, R | T[K]>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/ensure.html b/docs/api/functions/ensure.html index 8edc000..703fc75 100644 --- a/docs/api/functions/ensure.html +++ b/docs/api/functions/ensure.html @@ -1,4 +1,4 @@ ensure | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +

    Returns StringArgumentAssertionBuilder

  • Parameters

    Returns GuidArgumentAssertionBuilder

  • Type Parameters

    Parameters

    Returns ArrayLikeArgumentAssertionBuilder<TElement>

  • Type Parameters

    Parameters

    Returns ArgumentAssertionBuilder<T>

  • Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/equals.html b/docs/api/functions/equals.html index 758d249..bf81329 100644 --- a/docs/api/functions/equals.html +++ b/docs/api/functions/equals.html @@ -1,7 +1,7 @@ equals | @michaelcoxon/utilities
    • returns true if the two objects are equal but not the same object. (compares public keys)

      -

      Type Parameters

      • T

      Parameters

      • obj1: T
      • obj2: T

      Returns boolean

    • returns true if the two objects are equal but not the same object. (compares public keys)

      +

      Type Parameters

      • T

      Parameters

      • obj1: T
      • obj2: T

      Returns boolean

    • returns true if the two objects are equal but not the same object. (compares public keys)

      Type Parameters

      • T

      Parameters

      • obj1: T
      • obj2: T
      • forceJSON: boolean

        converts the objects to JSON and compares the two strings.

        -

      Returns boolean

    • returns true if the two objects are equal but not the same object. (compares public keys)

      +

    Returns boolean

  • returns true if the two objects are equal but not the same object. (compares public keys)

    Type Parameters

    • T

    Parameters

    • obj1: T
    • obj2: T
    • forceJSON: boolean

      converts the objects to JSON and compares the two strings.

    • deep: boolean

      Does a deep compare. forceJSON must be false

      -

    Returns boolean

  • Generated using TypeDoc

    \ No newline at end of file +

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/equivilentToByJSON.html b/docs/api/functions/equivilentToByJSON.html index a59103a..fb8391b 100644 --- a/docs/api/functions/equivilentToByJSON.html +++ b/docs/api/functions/equivilentToByJSON.html @@ -1,2 +1,2 @@ equivilentToByJSON | @michaelcoxon/utilities
    • returns true if the two objects are equal but not the same object. (compares the JSON equilient of each object).. should be faster.. should..

      -

      Type Parameters

      • T

      Parameters

      • obj1: T
      • obj2: T

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/errorToLogMessage.html b/docs/api/functions/errorToLogMessage.html index 7f2b574..6aa30b0 100644 --- a/docs/api/functions/errorToLogMessage.html +++ b/docs/api/functions/errorToLogMessage.html @@ -1 +1 @@ -errorToLogMessage | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +errorToLogMessage | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/getHash.html b/docs/api/functions/getHash.html index 37d38ec..7aa6ccf 100644 --- a/docs/api/functions/getHash.html +++ b/docs/api/functions/getHash.html @@ -1,2 +1,2 @@ getHash | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/getType.html b/docs/api/functions/getType.html index 85bfcad..423a55b 100644 --- a/docs/api/functions/getType.html +++ b/docs/api/functions/getType.html @@ -1 +1 @@ -getType | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +getType | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/hashString.html b/docs/api/functions/hashString.html index 8c7e817..4eea21b 100644 --- a/docs/api/functions/hashString.html +++ b/docs/api/functions/hashString.html @@ -1 +1 @@ -hashString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +hashString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isBoolean.html b/docs/api/functions/isBoolean.html index 0078087..2f31c4b 100644 --- a/docs/api/functions/isBoolean.html +++ b/docs/api/functions/isBoolean.html @@ -1,2 +1,2 @@ isBoolean | @michaelcoxon/utilities
    • Returns true if the subject is a boolean

      -

      Type Parameters

      • T

      Parameters

      • subject: boolean | T

      Returns subject is boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns subject is boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isComparable.html b/docs/api/functions/isComparable.html index 434ff7b..c6dcd85 100644 --- a/docs/api/functions/isComparable.html +++ b/docs/api/functions/isComparable.html @@ -1 +1 @@ -isComparable | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +isComparable | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isDate.html b/docs/api/functions/isDate.html index 2539b4a..8d3ec14 100644 --- a/docs/api/functions/isDate.html +++ b/docs/api/functions/isDate.html @@ -1,2 +1,2 @@ isDate | @michaelcoxon/utilities
    • Returns true if the subject is a date

      -

      Type Parameters

      • T

      Parameters

      • subject: T | Date

      Returns subject is Date

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns subject is Date

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isFunction.html b/docs/api/functions/isFunction.html index fa4efe5..f3a8a2d 100644 --- a/docs/api/functions/isFunction.html +++ b/docs/api/functions/isFunction.html @@ -1,2 +1,2 @@ isFunction | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns subject is AnyFunction

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isNull.html b/docs/api/functions/isNull.html index 8029eee..85a2649 100644 --- a/docs/api/functions/isNull.html +++ b/docs/api/functions/isNull.html @@ -1,2 +1,2 @@ isNull | @michaelcoxon/utilities
    • Returns true if the subject is null

      -

      Type Parameters

      • T

      Parameters

      • subject: null | T

      Returns subject is null

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns subject is null

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isNullOrEmpty.html b/docs/api/functions/isNullOrEmpty.html index e2c5fe4..850da16 100644 --- a/docs/api/functions/isNullOrEmpty.html +++ b/docs/api/functions/isNullOrEmpty.html @@ -1,3 +1,3 @@ isNullOrEmpty | @michaelcoxon/utilities
    • Returns true if the value is undefined, null or empty.

      NOTE: if you need empty, do this seperately

      -

      Parameters

      • Optional subject: NullOrEmptyableType

      Returns subject is undefined | null

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns subject is undefined | null

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isNumber.html b/docs/api/functions/isNumber.html index 84dcce1..10d26fd 100644 --- a/docs/api/functions/isNumber.html +++ b/docs/api/functions/isNumber.html @@ -1,2 +1,2 @@ isNumber | @michaelcoxon/utilities
    • Returns true if the subject is a number

      -

      Type Parameters

      • T

      Parameters

      • subject: number | T

      Returns subject is number

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns subject is number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isObject.html b/docs/api/functions/isObject.html index 3da23b7..232ddf7 100644 --- a/docs/api/functions/isObject.html +++ b/docs/api/functions/isObject.html @@ -1,2 +1,2 @@ isObject | @michaelcoxon/utilities
    • Returns true if the subject is a number

      -

      Type Parameters

      • T

      Parameters

      • subject: Record<string, any> | T

      Returns subject is Record<string, any>

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns subject is Record<string, any>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isString.html b/docs/api/functions/isString.html index c22396a..e188f4a 100644 --- a/docs/api/functions/isString.html +++ b/docs/api/functions/isString.html @@ -1,2 +1,2 @@ isString | @michaelcoxon/utilities
    • Returns true if the subject is a string

      -

      Type Parameters

      • T

      Parameters

      • subject: string | T

      Returns subject is string

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns subject is string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isUndefined.html b/docs/api/functions/isUndefined.html index eb8bb14..645c300 100644 --- a/docs/api/functions/isUndefined.html +++ b/docs/api/functions/isUndefined.html @@ -1,2 +1,2 @@ isUndefined | @michaelcoxon/utilities
    • Returns true if the subject is undefined

      -

      Type Parameters

      • T

      Parameters

      • subject: undefined | T

      Returns subject is undefined

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns subject is undefined

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/isUndefinedOrNull.html b/docs/api/functions/isUndefinedOrNull.html index 7060905..ab5d52c 100644 --- a/docs/api/functions/isUndefinedOrNull.html +++ b/docs/api/functions/isUndefinedOrNull.html @@ -1 +1 @@ -isUndefinedOrNull | @michaelcoxon/utilities
    • Type Parameters

      • T

      Parameters

      • subject: undefined | null | T

      Returns subject is undefined | null

    Generated using TypeDoc

    \ No newline at end of file +isUndefinedOrNull | @michaelcoxon/utilities
    • Type Parameters

      • T

      Parameters

      • subject: undefined | null | T

      Returns subject is undefined | null

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/noop.html b/docs/api/functions/noop.html index b3d3974..6ff9f9d 100644 --- a/docs/api/functions/noop.html +++ b/docs/api/functions/noop.html @@ -1 +1 @@ -noop | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +noop | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/serializeError.html b/docs/api/functions/serializeError.html index 5eec933..a5df358 100644 --- a/docs/api/functions/serializeError.html +++ b/docs/api/functions/serializeError.html @@ -1,3 +1,3 @@ serializeError | @michaelcoxon/utilities
    • Serializes an error to JSON.

      Parameters

      • error: Error

        The error to serialize.

        -

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/stringOrUrlToUrl.html b/docs/api/functions/stringOrUrlToUrl.html index 6875a9b..7849884 100644 --- a/docs/api/functions/stringOrUrlToUrl.html +++ b/docs/api/functions/stringOrUrlToUrl.html @@ -1,2 +1,2 @@ stringOrUrlToUrl | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns Url

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/using.html b/docs/api/functions/using.html index 7295a21..90525ee 100644 --- a/docs/api/functions/using.html +++ b/docs/api/functions/using.html @@ -1,3 +1,3 @@ using | @michaelcoxon/utilities
    • Creates a disposable object then cleans it up after inner has finished execution. DO NOT USE ON PROMISES!!! use usingAsync instead.

      -

      Type Parameters

      Parameters

      • disposableObjectFactory: (() => T)
          • (): T
          • Returns T

      • inner: ((disposableObject) => TResult)
          • (disposableObject): TResult
          • Parameters

            • disposableObject: T

            Returns TResult

      Returns TResult

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns TResult

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/functions/usingAsync.html b/docs/api/functions/usingAsync.html index e7966ea..695bdb0 100644 --- a/docs/api/functions/usingAsync.html +++ b/docs/api/functions/usingAsync.html @@ -1,2 +1,2 @@ usingAsync | @michaelcoxon/utilities
    • creates a disposable object then cleans it up after inner has resolved.

      -

      Type Parameters

      Parameters

      • disposableObjectFactory: (() => T)
          • (): T
          • Returns T

      • inner: ((disposableObject) => Promise<TResult>)
          • (disposableObject): Promise<TResult>
          • Parameters

            • disposableObject: T

            Returns Promise<TResult>

      Returns Promise<TResult>

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Parameters

    Returns Promise<TResult>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Cache.IAsyncCacheItem.html b/docs/api/interfaces/Cache.IAsyncCacheItem.html index 5c3816b..b4ad79f 100644 --- a/docs/api/interfaces/Cache.IAsyncCacheItem.html +++ b/docs/api/interfaces/Cache.IAsyncCacheItem.html @@ -1,3 +1,3 @@ -IAsyncCacheItem | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IAsyncCacheItem

    Implemented by

    Properties

    expiredAsync +IAsyncCacheItem | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IAsyncCacheItem

    Implemented by

    Properties

    expiredAsync: Promise<boolean>
    valueAsync: Promise<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    expiredAsync: Promise<boolean>
    valueAsync: Promise<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Cache.ICache.html b/docs/api/interfaces/Cache.ICache.html index 39b6b73..29a6533 100644 --- a/docs/api/interfaces/Cache.ICache.html +++ b/docs/api/interfaces/Cache.ICache.html @@ -1,8 +1,8 @@ -ICache | @michaelcoxon/utilities

    Type Parameters

    • TKey

    Hierarchy

    • ICache

    Implemented by

    Methods

    add +ICache | @michaelcoxon/utilities

    Type Parameters

    • TKey

    Hierarchy

    • ICache

    Implemented by

    Methods

    • Type Parameters

      • T

      Parameters

      • key: TKey

      Returns Promise<T>

    • Type Parameters

      • T

      Parameters

      • key: TKey

      Returns Promise<{
          success: boolean;
          value?: Promise<T>;
      }>

    Generated using TypeDoc

    \ No newline at end of file +

    Methods

    • Type Parameters

      • T

      Parameters

      • key: TKey

      Returns Promise<T>

    • Type Parameters

      • T

      Parameters

      • key: TKey

      Returns Promise<{
          success: boolean;
          value?: Promise<T>;
      }>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Comparers.IComparable.html b/docs/api/interfaces/Comparers.IComparable.html index bb6658f..38968fd 100644 --- a/docs/api/interfaces/Comparers.IComparable.html +++ b/docs/api/interfaces/Comparers.IComparable.html @@ -1,2 +1,2 @@ -IComparable | @michaelcoxon/utilities

    Hierarchy

    • IComparable

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file +IComparable | @michaelcoxon/utilities

    Hierarchy

    • IComparable

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Comparers.IComparer.html b/docs/api/interfaces/Comparers.IComparer.html index 514f73e..21978b0 100644 --- a/docs/api/interfaces/Comparers.IComparer.html +++ b/docs/api/interfaces/Comparers.IComparer.html @@ -1,4 +1,4 @@ -IComparer | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IComparer

    Implemented by

    Methods

    compare +IComparer | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IComparer

    Implemented by

    Methods

    compare equals greaterThan greaterThanOrEqual @@ -10,9 +10,9 @@
  • x == y : return 0
  • x > y : return >0
  • -

    Parameters

    • x: T
    • y: T

    Returns number

    • Returns true if 'x' is greater than 'y'.

      -

      Parameters

      • x: T
      • y: T

      Returns boolean

    • Returns true if 'x' is greater than or equal to 'y'.

      -

      Parameters

      • x: T
      • y: T

      Returns boolean

    • Returns true if 'x' is les than 'y'.

      -

      Parameters

      • x: T
      • y: T

      Returns boolean

    • Returns true if 'x' is less than or equal to 'y'.

      -

      Parameters

      • x: T
      • y: T

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • x: T
    • y: T

    Returns number

    • Returns true if 'x' is greater than 'y'.

      +

      Parameters

      • x: T
      • y: T

      Returns boolean

    • Returns true if 'x' is greater than or equal to 'y'.

      +

      Parameters

      • x: T
      • y: T

      Returns boolean

    • Returns true if 'x' is les than 'y'.

      +

      Parameters

      • x: T
      • y: T

      Returns boolean

    • Returns true if 'x' is less than or equal to 'y'.

      +

      Parameters

      • x: T
      • y: T

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Comparers.IEqualityComparer.html b/docs/api/interfaces/Comparers.IEqualityComparer.html index a4406b2..c35ac78 100644 --- a/docs/api/interfaces/Comparers.IEqualityComparer.html +++ b/docs/api/interfaces/Comparers.IEqualityComparer.html @@ -1,2 +1,2 @@ -IEqualityComparer | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IEqualityComparer

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file +IEqualityComparer | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IEqualityComparer

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Configuration.IConfiguration.html b/docs/api/interfaces/Configuration.IConfiguration.html index 69b599e..2bb302d 100644 --- a/docs/api/interfaces/Configuration.IConfiguration.html +++ b/docs/api/interfaces/Configuration.IConfiguration.html @@ -1,4 +1,4 @@ -IConfiguration | @michaelcoxon/utilities

    Hierarchy

    Properties

    root +IConfiguration | @michaelcoxon/utilities

    Hierarchy

    Properties

    Methods

    Properties

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Configuration.IConfigurationBuilder.html b/docs/api/interfaces/Configuration.IConfigurationBuilder.html index f3ba5f9..8dd7136 100644 --- a/docs/api/interfaces/Configuration.IConfigurationBuilder.html +++ b/docs/api/interfaces/Configuration.IConfigurationBuilder.html @@ -1,2 +1,2 @@ -IConfigurationBuilder | @michaelcoxon/utilities

    Hierarchy

    • IConfigurationBuilder

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file +IConfigurationBuilder | @michaelcoxon/utilities

    Hierarchy

    • IConfigurationBuilder

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Configuration.IConfigurationSection.html b/docs/api/interfaces/Configuration.IConfigurationSection.html index 6bba198..b5690b9 100644 --- a/docs/api/interfaces/Configuration.IConfigurationSection.html +++ b/docs/api/interfaces/Configuration.IConfigurationSection.html @@ -1,3 +1,3 @@ -IConfigurationSection | @michaelcoxon/utilities

    Hierarchy

    Methods

    get +IConfigurationSection | @michaelcoxon/utilities

    Hierarchy

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerables.ICollection.html b/docs/api/interfaces/Enumerables.ICollection.html index 13906aa..4845791 100644 --- a/docs/api/interfaces/Enumerables.ICollection.html +++ b/docs/api/interfaces/Enumerables.ICollection.html @@ -1,4 +1,4 @@ -ICollection | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implemented by

    Properties

    isReadOnly +ICollection | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implemented by

    Properties

    Methods

    [iterator] add @@ -40,71 +40,71 @@ toList where

    Properties

    isReadOnly: boolean

    Gets a value indicating whether the ICollection is read-only.

    -
    length: number

    Gets the number of elements contained in the ICollection.

    -

    Methods

    • Returns Iterator<T, any, undefined>

    length: number

    Gets the number of elements contained in the ICollection.

    +

    Methods

    • Returns Iterator<T, any, undefined>

    • Adds an item to the ICollection.

      Parameters

      • item: T

        The object to add to the ICollection.

        -

      Returns void

    • Returns true if any of the items match the predicate, otherwise false

      +

    Returns void

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Copies the elements of the ICollection to an Array, starting at a particular Array index.

      +

    Returns boolean

    • Copies the elements of the ICollection to an Array, starting at a particular Array index.

      Parameters

      • array: T[]

        The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

      • arrayIndex: number

        The zero-based index in array at which copying begins.

        -

      Returns void

    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      -

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    • Returns the item at the specified index

      +

    Returns void

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerables.IDictionary.html b/docs/api/interfaces/Enumerables.IDictionary.html index e5368b7..ca917cc 100644 --- a/docs/api/interfaces/Enumerables.IDictionary.html +++ b/docs/api/interfaces/Enumerables.IDictionary.html @@ -1,4 +1,4 @@ -IDictionary | @michaelcoxon/utilities

    Interface IDictionary<TKey, TValue>

    Type Parameters

    • TKey

    • TValue

    Hierarchy

    Implemented by

    Properties

    isReadOnly +IDictionary | @michaelcoxon/utilities

    Interface IDictionary<TKey, TValue>

    Type Parameters

    • TKey

    • TValue

    Hierarchy

    Implemented by

    Properties

    Properties

    isReadOnly: boolean

    Gets a value indicating whether the ICollection is read-only.

    -
    keys: TKey[]
    length: number

    Gets the number of elements contained in the ICollection.

    -
    values: TValue[]

    Methods

    • Returns Iterator<KeyValuePair<TKey, TValue>, any, undefined>

    keys: TKey[]
    length: number

    Gets the number of elements contained in the ICollection.

    +
    values: TValue[]

    Methods

    • Returns Iterator<KeyValuePair<TKey, TValue>, any, undefined>

    • Returns true if any of the items match the predicate, otherwise false

      +

    Returns void

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Copies the elements of the ICollection to an Array, starting at a particular Array index.

      +

    Returns boolean

    • Copies the elements of the ICollection to an Array, starting at a particular Array index.

      Parameters

      • array: KeyValuePair<TKey, TValue>[]

        The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

      • arrayIndex: number

        The zero-based index in array at which copying begins.

        -

      Returns void

    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      -

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            Returns boolean | void

      Returns void

    Returns void

    Returns Undefinable<KeyValuePair<TKey, TValue>>

    Returns IEnumerable<N>

    Returns IEnumerable<KeyValuePair<TKey, TValue>>

    Returns number

    Returns IEnumerable<KeyValuePair<TKey, TValue>>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<KeyValuePair<TKey, TValue>>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerables.IEnumerable.html b/docs/api/interfaces/Enumerables.IEnumerable.html index 1858352..5767b53 100644 --- a/docs/api/interfaces/Enumerables.IEnumerable.html +++ b/docs/api/interfaces/Enumerables.IEnumerable.html @@ -1,4 +1,4 @@ -IEnumerable | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implemented by

    Methods

    [iterator] +IEnumerable | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implemented by

    Methods

    [iterator] all any append @@ -34,62 +34,62 @@ toList where

    Methods

    • Returns Iterator<T, any, undefined>

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Determines whether a sequence contains a specified element.

      Parameters

      • item: T

        The value to locate in the sequence.

        -

      Returns boolean

    • Returns the first item in the enumerable or null

      -

      Returns null | T

    • Returns the first item in the enumerable that matches the predicate or null

      -

      Parameters

      Returns null | T

    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      -

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    • Returns the item at the specified index

      +

    Returns boolean

    • Returns the first item in the enumerable or null

      +

      Returns null | T

    • Returns the first item in the enumerable that matches the predicate or null

      +

      Parameters

      Returns null | T

    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      +

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    • Returns an enumerable of items that match the type

      +

    Returns Undefinable<T>

    • Returns a single element only if there is one element in the enumerable

      +

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerables.IEnumerableGroup.html b/docs/api/interfaces/Enumerables.IEnumerableGroup.html index 77e1904..6206599 100644 --- a/docs/api/interfaces/Enumerables.IEnumerableGroup.html +++ b/docs/api/interfaces/Enumerables.IEnumerableGroup.html @@ -1,4 +1,4 @@ -IEnumerableGroup | @michaelcoxon/utilities

    Interface IEnumerableGroup<T, TKey>

    Type Parameters

    • T

    • TKey

    Hierarchy

    Properties

    key +IEnumerableGroup | @michaelcoxon/utilities

    Interface IEnumerableGroup<T, TKey>

    Type Parameters

    • T

    • TKey

    Hierarchy

    Properties

    Methods

    [iterator] all any @@ -34,63 +34,63 @@ toDictionary toList where -

    Properties

    key: TKey

    Methods

    • Returns Iterator<T, any, undefined>

    • Returns true if any of the items match the predicate, otherwise false

      +

    Properties

    key: TKey

    Methods

    • Returns Iterator<T, any, undefined>

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      -

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    • Returns the item at the specified index

      +

    Returns boolean

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerables.IList.html b/docs/api/interfaces/Enumerables.IList.html index 9881aa1..d31560a 100644 --- a/docs/api/interfaces/Enumerables.IList.html +++ b/docs/api/interfaces/Enumerables.IList.html @@ -1,4 +1,4 @@ -IList | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implemented by

    Properties

    isReadOnly +IList | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implemented by

    Properties

    Methods

    [iterator] add @@ -46,71 +46,71 @@ toList where

    Properties

    isReadOnly: boolean

    Gets a value indicating whether the ICollection is read-only.

    -
    length: number

    Gets the number of elements contained in the ICollection.

    -

    Methods

    • Returns Iterator<T, any, undefined>

    length: number

    Gets the number of elements contained in the ICollection.

    +

    Methods

    • Returns Iterator<T, any, undefined>

    • Returns true if any of the items match the predicate, otherwise false

      +

    Returns void

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Copies the elements of the ICollection to an Array, starting at a particular Array index.

      +

    Returns boolean

    • Copies the elements of the ICollection to an Array, starting at a particular Array index.

      Parameters

      • array: T[]

        The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

      • arrayIndex: number

        The zero-based index in array at which copying begins.

        -

      Returns void

    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      -

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    • Returns the item at the specified index

      +

    Returns void

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerables.IReadOnlyCollection.html b/docs/api/interfaces/Enumerables.IReadOnlyCollection.html index e875f71..ef5d951 100644 --- a/docs/api/interfaces/Enumerables.IReadOnlyCollection.html +++ b/docs/api/interfaces/Enumerables.IReadOnlyCollection.html @@ -1,4 +1,4 @@ -IReadOnlyCollection | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Properties

    length +IReadOnlyCollection | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Properties

    Methods

    [iterator] all any @@ -34,63 +34,63 @@ toDictionary toList where -

    Properties

    length: number

    Methods

    • Returns Iterator<T, any, undefined>

    • Returns true if any of the items match the predicate, otherwise false

      +

    Properties

    length: number

    Methods

    • Returns Iterator<T, any, undefined>

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Iterates over the enumerable and performs the callback on each item. Return false to break.

      -

      Parameters

      • callback: ((value, index) => boolean | void)
          • (value, index): boolean | void
          • Parameters

            • value: T
            • index: number

            Returns boolean | void

      Returns void

    • Returns the item at the specified index

      +

    Returns boolean

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerables.ISet.html b/docs/api/interfaces/Enumerables.ISet.html index 19cdd8f..7f2b158 100644 --- a/docs/api/interfaces/Enumerables.ISet.html +++ b/docs/api/interfaces/Enumerables.ISet.html @@ -1,4 +1,4 @@ -ISet | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implemented by

    Properties

    isReadOnly +ISet | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    Implemented by

    Properties

    Methods

    [iterator] add @@ -48,91 +48,91 @@ unionWith where

    Properties

    isReadOnly: boolean

    Gets a value indicating whether the ICollection is read-only.

    -
    length: number

    Gets the number of elements contained in the ICollection.

    -

    Methods

    • Returns Iterator<T, any, undefined>

    length: number

    Gets the number of elements contained in the ICollection.

    +

    Methods

    • Returns Iterator<T, any, undefined>

    • Returns true if any of the items match the predicate, otherwise false

      +

    Returns void

    • Returns true if any of the items match the predicate, otherwise false

      Parameters

      Returns boolean

      Example

      if (myEnumerable.any()) {
      // do something because the enumerable has elements
      }
      let myEnumerable = new ArrayEnumerable([1, 2, 3, 4]);
      if (myEnumerable.any((i) => i == 2)) {
      // the enumerable contains a '2'
      }
      -
    • Copies the elements of the ICollection to an Array, starting at a particular Array index.

      +

    Returns boolean

    • Copies the elements of the ICollection to an Array, starting at a particular Array index.

      Parameters

      • array: T[]

        The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

      • arrayIndex: number

        The zero-based index in array at which copying begins.

        -

      Returns void

    • Removes all elements in the specified collection from the current set.

      +

    Returns void

    Returns void

    Returns void

    Returns Undefinable<T>

    Returns IEnumerable<N>

    Returns IEnumerable<T>

    Returns number

    Returns void

    Returns IEnumerable<T>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns IEnumerable<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerables.LinkedListItem.html b/docs/api/interfaces/Enumerables.LinkedListItem.html index a6d9aa9..61dab8f 100644 --- a/docs/api/interfaces/Enumerables.LinkedListItem.html +++ b/docs/api/interfaces/Enumerables.LinkedListItem.html @@ -1,3 +1,3 @@ -LinkedListItem | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • LinkedListItem

    Properties

    next? +LinkedListItem | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • LinkedListItem

    Properties

    Properties

    next?: LinkedListItem<T>
    value: T

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    next?: LinkedListItem<T>
    value: T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerators.IAsyncEnumerator.html b/docs/api/interfaces/Enumerators.IAsyncEnumerator.html index afef03c..6b42ba7 100644 --- a/docs/api/interfaces/Enumerators.IAsyncEnumerator.html +++ b/docs/api/interfaces/Enumerators.IAsyncEnumerator.html @@ -1,5 +1,5 @@ -IAsyncEnumerator | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IAsyncEnumerator

    Implemented by

    Properties

    current +IAsyncEnumerator | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IAsyncEnumerator

    Implemented by

    Properties

    Methods

    Properties

    current: T

    value of the current element

    -

    Methods

    • move to the next element. Returns false if there is no next element

      -

      Returns Promise<boolean>

    Generated using TypeDoc

    \ No newline at end of file +

    Methods

    • move to the next element. Returns false if there is no next element

      +

      Returns Promise<boolean>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Enumerators.IEnumerator.html b/docs/api/interfaces/Enumerators.IEnumerator.html index cfaac46..44e60fe 100644 --- a/docs/api/interfaces/Enumerators.IEnumerator.html +++ b/docs/api/interfaces/Enumerators.IEnumerator.html @@ -1,5 +1,5 @@ IEnumerator | @michaelcoxon/utilities

    Enumrates an object source for values.

    -

    Type Parameters

    • T

    Hierarchy

    • Iterator<T>
      • IEnumerator

    Implemented by

    Properties

    Type Parameters

    • T

    Hierarchy

    • Iterator<T>
      • IEnumerator

    Implemented by

    Properties

    Methods

    moveNext next peek @@ -7,7 +7,7 @@ return? throw?

    Properties

    current: T

    value of the current element

    -

    Methods

    • move to the next element. Returns false if there is no next element

      -

      Returns boolean

    • Parameters

      • Rest ...args: [] | [undefined]

      Returns IteratorResult<T, any>

    • Parameters

      • Optional value: any

      Returns IteratorResult<T, any>

    • Parameters

      • Optional e: any

      Returns IteratorResult<T, any>

    Generated using TypeDoc

    \ No newline at end of file +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Events.IEvent.html b/docs/api/interfaces/Events.IEvent.html index 22fb8c9..e8f1a6d 100644 --- a/docs/api/interfaces/Events.IEvent.html +++ b/docs/api/interfaces/Events.IEvent.html @@ -1,4 +1,4 @@ IEvent | @michaelcoxon/utilities

    Interface IEvent<TEventArgs>

    An interface to expose an event publicly

    -

    Type Parameters

    • TEventArgs

    Hierarchy

    • IEvent

    Implemented by

    Methods

    Type Parameters

    • TEventArgs

    Hierarchy

    • IEvent

    Implemented by

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Formatters.IDateFormatterConfiguration.html b/docs/api/interfaces/Formatters.IDateFormatterConfiguration.html index de9e17c..28ddefa 100644 --- a/docs/api/interfaces/Formatters.IDateFormatterConfiguration.html +++ b/docs/api/interfaces/Formatters.IDateFormatterConfiguration.html @@ -1,4 +1,4 @@ -IDateFormatterConfiguration | @michaelcoxon/utilities

    Hierarchy

    • IDateFormatterConfiguration

    Properties

    am +IDateFormatterConfiguration | @michaelcoxon/utilities

    Hierarchy

    • IDateFormatterConfiguration

    Properties

    am: string
    dateSeparator: string
    daysOfWeek_Long: string[]
    daysOfWeek_Short: string[]
    months_Long: string[]
    months_Short: string[]
    pm: string
    timeSeparator: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    am: string
    dateSeparator: string
    daysOfWeek_Long: string[]
    daysOfWeek_Short: string[]
    months_Long: string[]
    months_Short: string[]
    pm: string
    timeSeparator: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Formatters.IFormatter.html b/docs/api/interfaces/Formatters.IFormatter.html index 80d769e..923e832 100644 --- a/docs/api/interfaces/Formatters.IFormatter.html +++ b/docs/api/interfaces/Formatters.IFormatter.html @@ -1,2 +1,2 @@ -IFormatter | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IFormatter

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file +IFormatter | @michaelcoxon/utilities

    Type Parameters

    • T

    Hierarchy

    • IFormatter

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Formatters.INumberFormatterConfiguration.html b/docs/api/interfaces/Formatters.INumberFormatterConfiguration.html index 21c88f1..d530bdd 100644 --- a/docs/api/interfaces/Formatters.INumberFormatterConfiguration.html +++ b/docs/api/interfaces/Formatters.INumberFormatterConfiguration.html @@ -1,5 +1,5 @@ -INumberFormatterConfiguration | @michaelcoxon/utilities

    Hierarchy

    • INumberFormatterConfiguration

    Properties

    currencyDecimalDigits +INumberFormatterConfiguration | @michaelcoxon/utilities

    Hierarchy

    • INumberFormatterConfiguration

    Properties

    currencyDecimalDigits: number
    currencyFormat: string
    numberDecimalDigits: number
    percentDecimalDigits: number

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    currencyDecimalDigits: number
    currencyFormat: string
    numberDecimalDigits: number
    percentDecimalDigits: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/IDisposable.html b/docs/api/interfaces/IDisposable.html index 1f4d018..304d2bb 100644 --- a/docs/api/interfaces/IDisposable.html +++ b/docs/api/interfaces/IDisposable.html @@ -1,3 +1,3 @@ IDisposable | @michaelcoxon/utilities

    interface for disposable objects

    -

    Hierarchy

    • IDisposable

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/IO.IIndentedStringBuilder.html b/docs/api/interfaces/IO.IIndentedStringBuilder.html index 7f06fa6..18796df 100644 --- a/docs/api/interfaces/IO.IIndentedStringBuilder.html +++ b/docs/api/interfaces/IO.IIndentedStringBuilder.html @@ -1,11 +1,11 @@ -IIndentedStringBuilder | @michaelcoxon/utilities

    Interface IIndentedStringBuilder

    Hierarchy

    • IIndentedStringBuilder

    Implemented by

    Methods

    appendLine +IIndentedStringBuilder | @michaelcoxon/utilities

    Interface IIndentedStringBuilder

    Hierarchy

    • IIndentedStringBuilder

    Implemented by

    Methods

    • Appends the value to the builder with a new line afterwards.

      -

      Parameters

      • value: string

      Returns void

    • Clears all values from the StringBuilder.

      -

      Returns void

    • Returns a string representation of the StringBuilder.

      -

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • value: string

    Returns void

    • Clears all values from the StringBuilder.

      +

      Returns void

    • Returns a string representation of the StringBuilder.

      +

      Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/IO.IStringBuilder.html b/docs/api/interfaces/IO.IStringBuilder.html index 3cf9fab..5676553 100644 --- a/docs/api/interfaces/IO.IStringBuilder.html +++ b/docs/api/interfaces/IO.IStringBuilder.html @@ -1,9 +1,9 @@ -IStringBuilder | @michaelcoxon/utilities

    Hierarchy

    • IStringBuilder

    Implemented by

    Methods

    append +IStringBuilder | @michaelcoxon/utilities

    Hierarchy

    • IStringBuilder

    Implemented by

    Methods

    • Append the value to the builder

      -

      Parameters

      • value: string

      Returns void

    • Appends the value to the builder with a new line afterwards.

      -

      Parameters

      • value: string

      Returns void

    • Clears all values from the StringBuilder.

      -

      Returns void

    • Returns a string representation of the StringBuilder.

      -

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • value: string

    Returns void

    • Appends the value to the builder with a new line afterwards.

      +

      Parameters

      • value: string

      Returns void

    • Clears all values from the StringBuilder.

      +

      Returns void

    • Returns a string representation of the StringBuilder.

      +

      Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Logging.IConsoleLoggerConfig.html b/docs/api/interfaces/Logging.IConsoleLoggerConfig.html index 8bfecfe..4234c72 100644 --- a/docs/api/interfaces/Logging.IConsoleLoggerConfig.html +++ b/docs/api/interfaces/Logging.IConsoleLoggerConfig.html @@ -1,5 +1,5 @@ -IConsoleLoggerConfig | @michaelcoxon/utilities

    Hierarchy

    Properties

    loggingVerbosity +IConsoleLoggerConfig | @michaelcoxon/utilities

    Hierarchy

    Properties

    loggingVerbosity: LogLevel

    the logging verbosity to filter on

    -
    useTraceMethodForTraceLogLevel: boolean

    some browsers support the 'console.trace' method. this method gives out more info on trace logs.

    -

    Generated using TypeDoc

    \ No newline at end of file +
    useTraceMethodForTraceLogLevel: boolean

    some browsers support the 'console.trace' method. this method gives out more info on trace logs.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Logging.ILogger.html b/docs/api/interfaces/Logging.ILogger.html index 2e876e7..3af1798 100644 --- a/docs/api/interfaces/Logging.ILogger.html +++ b/docs/api/interfaces/Logging.ILogger.html @@ -1,5 +1,5 @@ ILogger | @michaelcoxon/utilities

    ILogger interface for all logging implementations

    -

    Hierarchy

    • ILogger

    Implemented by

    Methods

    Hierarchy

    • ILogger

    Implemented by

    Methods

    Methods

    • Log a message flagged at the Debug log level

      -

      Parameters

      • msg: string

      Returns void

    • Log an error flagged at the Debug log level

      -

      Parameters

      • err: Error

      Returns void

    • Log an error and a message flagged at the Debug log level

      -

      Parameters

      • err: Error
      • msg: string

      Returns void

    • Log a message flagged at the Error log level

      -

      Parameters

      • msg: string

      Returns void

    • Log an error flagged at the Error log level

      -

      Parameters

      • err: Error

      Returns void

    • Log an error and a message flagged at the Error log level

      -

      Parameters

      • err: Error
      • msg: string

      Returns void

    • Log a message flagged at the Informational log level

      -

      Parameters

      • msg: string

      Returns void

    • Log an error flagged at the Informational log level

      -

      Parameters

      • err: Error

      Returns void

    • Log an error and a message flagged at the Informational log level

      -

      Parameters

      • err: Error
      • msg: string

      Returns void

    • Log an error flagged at the Debug log level

      +

      Parameters

      • err: Error

      Returns void

    • Log an error and a message flagged at the Debug log level

      +

      Parameters

      • err: Error
      • msg: string

      Returns void

    • Log a message flagged at the Error log level

      +

      Parameters

      • msg: string

      Returns void

    • Log an error flagged at the Error log level

      +

      Parameters

      • err: Error

      Returns void

    • Log an error and a message flagged at the Error log level

      +

      Parameters

      • err: Error
      • msg: string

      Returns void

    • Log a message flagged at the Informational log level

      +

      Parameters

      • msg: string

      Returns void

    • Log an error flagged at the Informational log level

      +

      Parameters

      • err: Error

      Returns void

    • Log an error and a message flagged at the Informational log level

      +

      Parameters

      • err: Error
      • msg: string

      Returns void

    • Rescope the logger with the provided name. Used for tagging the logger.

      Parameters

      • name: string

        The tag the logger should be given

      Returns ILogger & IDisposable

      Example

      Use the scope tool inside a 'using' to scope logging to a specific method.
      return using(() => logger.scope("theNameOfMyScope"), logger =>
      {
      logger.debug("Log something here");
      });
      -
    • Log a message flagged at the Trace log level

      -

      Parameters

      • msg: string

      Returns void

    • Log an error flagged at the Trace log level

      -

      Parameters

      • err: Error

      Returns void

    • Log an error and a message flagged at the Trace log level

      -

      Parameters

      • err: Error
      • msg: string

      Returns void

    • Log a message flagged at the Warning log level

      -

      Parameters

      • msg: string

      Returns void

    • Log an error flagged at the Warning log level

      -

      Parameters

      • err: Error

      Returns void

    • Log an error and a message flagged at the Warning log level

      -

      Parameters

      • err: Error
      • msg: string

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Logging.ILoggerConfig.html b/docs/api/interfaces/Logging.ILoggerConfig.html index 096c257..2342dca 100644 --- a/docs/api/interfaces/Logging.ILoggerConfig.html +++ b/docs/api/interfaces/Logging.ILoggerConfig.html @@ -1,3 +1,3 @@ -ILoggerConfig | @michaelcoxon/utilities

    Hierarchy

    Properties

    loggingVerbosity +ILoggerConfig | @michaelcoxon/utilities

    Hierarchy

    Properties

    Properties

    loggingVerbosity: LogLevel

    the logging verbosity to filter on

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Numbers.INumberValue.html b/docs/api/interfaces/Numbers.INumberValue.html index d1af766..502d377 100644 --- a/docs/api/interfaces/Numbers.INumberValue.html +++ b/docs/api/interfaces/Numbers.INumberValue.html @@ -1,11 +1,11 @@ -INumberValue | @michaelcoxon/utilities

    Hierarchy

    • Number
      • INumberValue

    Implemented by

    Properties

    [toPrimitive] +INumberValue | @michaelcoxon/utilities

    Hierarchy

    • Number
      • INumberValue

    Implemented by

    Properties

    [toPrimitive]: ((hint) => number)

    Type declaration

      • (hint): number
      • Parameters

        • hint: string

        Returns number

    Methods

    • Returns a string containing a number represented in exponential notation.

      +

    Properties

    [toPrimitive]: ((hint) => number)

    Type declaration

      • (hint): number
      • Parameters

        • hint: string

        Returns number

    Methods

    • Returns a string containing a number represented in exponential notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

      Returns string

    • Returns a string representing a number in fixed-point notation.

      Parameters

      • Optional fractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

        @@ -17,4 +17,4 @@
      • Optional options: NumberFormatOptions

        An object that contains one or more properties that specify comparison options.

      Returns string

    • Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

      Parameters

      • Optional precision: number

        Number of significant digits. Must be in the range 1 - 21, inclusive.

        -

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Pipeline.IContext.html b/docs/api/interfaces/Pipeline.IContext.html index f005cc4..bffed9e 100644 --- a/docs/api/interfaces/Pipeline.IContext.html +++ b/docs/api/interfaces/Pipeline.IContext.html @@ -1,2 +1,2 @@ -IContext | @michaelcoxon/utilities

    Type Parameters

    • T = any

    Hierarchy

    • IContext

    Properties

    Properties

    data: T

    Generated using TypeDoc

    \ No newline at end of file +IContext | @michaelcoxon/utilities

    Type Parameters

    • T = any

    Hierarchy

    • IContext

    Properties

    Properties

    data: T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Pipeline.IPipelineTask.html b/docs/api/interfaces/Pipeline.IPipelineTask.html index dbf5014..c7f1d86 100644 --- a/docs/api/interfaces/Pipeline.IPipelineTask.html +++ b/docs/api/interfaces/Pipeline.IPipelineTask.html @@ -1,3 +1,3 @@ -IPipelineTask | @michaelcoxon/utilities

    Hierarchy

    • IPipelineTask

    Properties

    name +IPipelineTask | @michaelcoxon/utilities

    Hierarchy

    • IPipelineTask

    Properties

    Methods

    Properties

    name: string

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    name: string

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Pipeline.IPipelineTaskQueue.html b/docs/api/interfaces/Pipeline.IPipelineTaskQueue.html index a063e03..3a3eb31 100644 --- a/docs/api/interfaces/Pipeline.IPipelineTaskQueue.html +++ b/docs/api/interfaces/Pipeline.IPipelineTaskQueue.html @@ -1,2 +1,2 @@ -IPipelineTaskQueue | @michaelcoxon/utilities

    Hierarchy

    • IPipelineTaskQueue

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file +IPipelineTaskQueue | @michaelcoxon/utilities

    Hierarchy

    • IPipelineTaskQueue

    Implemented by

    Methods

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Result.IResult.html b/docs/api/interfaces/Result.IResult.html index ed19260..5ac28c9 100644 --- a/docs/api/interfaces/Result.IResult.html +++ b/docs/api/interfaces/Result.IResult.html @@ -1,5 +1,5 @@ -IResult | @michaelcoxon/utilities

    Interface IResult<T, TPreviousResult>

    Type Parameters

    Hierarchy

    Implemented by

    Properties

    error? +IResult | @michaelcoxon/utilities

    Interface IResult<T, TPreviousResult>

    Type Parameters

    Hierarchy

    Implemented by

    Properties

    error?: string
    previousResult?: TPreviousResult
    success: boolean
    value?: T

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    error?: string
    previousResult?: TPreviousResult
    success: boolean
    value?: T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Result.IResultBase.html b/docs/api/interfaces/Result.IResultBase.html index 55e0892..df7d540 100644 --- a/docs/api/interfaces/Result.IResultBase.html +++ b/docs/api/interfaces/Result.IResultBase.html @@ -1,4 +1,4 @@ -IResultBase | @michaelcoxon/utilities

    Interface IResultBase<TPreviousResult>

    Type Parameters

    Hierarchy

    Properties

    error? +IResultBase | @michaelcoxon/utilities

    Interface IResultBase<TPreviousResult>

    Type Parameters

    Hierarchy

    Properties

    error?: string
    previousResult?: TPreviousResult
    success: boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    error?: string
    previousResult?: TPreviousResult
    success: boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Storage.IStorageRepository.html b/docs/api/interfaces/Storage.IStorageRepository.html index d9d1d94..1b18825 100644 --- a/docs/api/interfaces/Storage.IStorageRepository.html +++ b/docs/api/interfaces/Storage.IStorageRepository.html @@ -1,4 +1,4 @@ -IStorageRepository | @michaelcoxon/utilities

    Interface IStorageRepository<TKey, T>

    Type Parameters

    • TKey

    • T

    Hierarchy

    • IStorageRepository

    Implemented by

    Methods

    deleteAsync +IStorageRepository | @michaelcoxon/utilities

    Interface IStorageRepository<TKey, T>

    Type Parameters

    • TKey

    • T

    Hierarchy

    • IStorageRepository

    Implemented by

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/interfaces/Type.IType.html b/docs/api/interfaces/Type.IType.html index c05e7a4..26e2202 100644 --- a/docs/api/interfaces/Type.IType.html +++ b/docs/api/interfaces/Type.IType.html @@ -1,7 +1,7 @@ -IType | @michaelcoxon/utilities

    Hierarchy

    • IType

    Properties

    baseType +IType | @michaelcoxon/utilities

    Hierarchy

    • IType

    Properties

    baseType: IType
    fullName: string
    isArray: boolean
    name: string
    namespace: string

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    baseType: IType
    fullName: string
    isArray: boolean
    name: string
    namespace: string

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/modules/Arrays.html b/docs/api/modules/Arrays.html index 9c3f2f1..41a773b 100644 --- a/docs/api/modules/Arrays.html +++ b/docs/api/modules/Arrays.html @@ -1,4 +1,4 @@ -Arrays | @michaelcoxon/utilities

    Index

    Functions

    all +Arrays | @michaelcoxon/utilities

    Index

    Functions

    all any average contains diff --git a/docs/api/modules/Assertions.html b/docs/api/modules/Assertions.html index ded1ad3..c40c1ff 100644 --- a/docs/api/modules/Assertions.html +++ b/docs/api/modules/Assertions.html @@ -1,4 +1,4 @@ -Assertions | @michaelcoxon/utilities

    Index

    Classes

    ArgumentAssertionBuilder +Assertions | @michaelcoxon/utilities

    Index

    Classes

    ArgumentAssertionBuilder ArrayLikeArgumentAssertionBuilder CompareAssertionBuilder GuidArgumentAssertionBuilder diff --git a/docs/api/modules/Booleans.html b/docs/api/modules/Booleans.html index a487a59..5be91fd 100644 --- a/docs/api/modules/Booleans.html +++ b/docs/api/modules/Booleans.html @@ -1,4 +1,4 @@ -Booleans | @michaelcoxon/utilities

    Index

    Variables

    _caseInsensitiveFalseString +Booleans | @michaelcoxon/utilities

    Index

    Variables

    _caseInsensitiveFalseString _caseInsensitiveTrueString falseString trueString diff --git a/docs/api/modules/Cache.expire.html b/docs/api/modules/Cache.expire.html index 9b626ec..adcee1a 100644 --- a/docs/api/modules/Cache.expire.html +++ b/docs/api/modules/Cache.expire.html @@ -1,4 +1,4 @@ -expire | @michaelcoxon/utilities

    Index

    Variables

    at +expire | @michaelcoxon/utilities

    Index

    Variables

    at in inDays inHours diff --git a/docs/api/modules/Cache.html b/docs/api/modules/Cache.html index 7c0e88a..7a07042 100644 --- a/docs/api/modules/Cache.html +++ b/docs/api/modules/Cache.html @@ -1,4 +1,4 @@ -Cache | @michaelcoxon/utilities

    Index

    Namespaces

    expire +Cache | @michaelcoxon/utilities

    Index

    Namespaces

    Classes

    AsyncCacheItem CacheExpiredException MemoryCache diff --git a/docs/api/modules/Comparers.html b/docs/api/modules/Comparers.html index 1531e58..a5dd411 100644 --- a/docs/api/modules/Comparers.html +++ b/docs/api/modules/Comparers.html @@ -1,4 +1,4 @@ -Comparers | @michaelcoxon/utilities

    Index

    Classes

    CaseInsensitiveStringComparer +Comparers | @michaelcoxon/utilities

    Index

    Classes

    CaseInsensitiveStringComparer CustomComparer MapComparer ReverseComparer diff --git a/docs/api/modules/Configuration.html b/docs/api/modules/Configuration.html index 8ad7887..7f5c1a2 100644 --- a/docs/api/modules/Configuration.html +++ b/docs/api/modules/Configuration.html @@ -1,4 +1,4 @@ -Configuration | @michaelcoxon/utilities

    Index

    Classes

    JsonConfigurationBuilder +Configuration | @michaelcoxon/utilities

    Index

    Classes

    Interfaces

    IConfiguration IConfigurationBuilder IConfigurationSection diff --git a/docs/api/modules/Enumerables.html b/docs/api/modules/Enumerables.html index 9cbc0c8..1f5cdd9 100644 --- a/docs/api/modules/Enumerables.html +++ b/docs/api/modules/Enumerables.html @@ -1,4 +1,4 @@ -Enumerables | @michaelcoxon/utilities

    Index

    Classes

    ArrayEnumerable +Enumerables | @michaelcoxon/utilities

    Index

    Classes

    ArrayEnumerable Collection Dictionary Enumerable diff --git a/docs/api/modules/Enumerators.html b/docs/api/modules/Enumerators.html index 0c69229..ed364ce 100644 --- a/docs/api/modules/Enumerators.html +++ b/docs/api/modules/Enumerators.html @@ -1,4 +1,4 @@ -Enumerators | @michaelcoxon/utilities

    Index

    Classes

    AggregateEnumerator +Enumerators | @michaelcoxon/utilities

    Index

    Classes

    AggregateEnumerator AppendEnumerator ArrayEnumerator AsyncEnumerator diff --git a/docs/api/modules/Events.html b/docs/api/modules/Events.html index 42de28d..92c3866 100644 --- a/docs/api/modules/Events.html +++ b/docs/api/modules/Events.html @@ -1,4 +1,4 @@ -Events | @michaelcoxon/utilities

    Index

    Classes

    Event +Events | @michaelcoxon/utilities

    Index

    Classes

    Interfaces

    Type Aliases

    EventHandler diff --git a/docs/api/modules/Exceptions.html b/docs/api/modules/Exceptions.html index bb023ec..617cf4c 100644 --- a/docs/api/modules/Exceptions.html +++ b/docs/api/modules/Exceptions.html @@ -1,4 +1,4 @@ -Exceptions | @michaelcoxon/utilities

    Index

    Classes

    AlreadyDisposedException +Exceptions | @michaelcoxon/utilities

    Index

    Classes

    AlreadyDisposedException ArgumentException ArgumentNullException ArgumentUndefinedException diff --git a/docs/api/modules/Formatters.html b/docs/api/modules/Formatters.html index 0498cad..81b1809 100644 --- a/docs/api/modules/Formatters.html +++ b/docs/api/modules/Formatters.html @@ -1,4 +1,4 @@ -Formatters | @michaelcoxon/utilities

    Index

    Classes

    DateFormatter +Formatters | @michaelcoxon/utilities

    Index

    Classes

    DateFormatter NumberFormatter NumberFormatterDelegates StringFormatter diff --git a/docs/api/modules/IO.html b/docs/api/modules/IO.html index 62862f7..97e3851 100644 --- a/docs/api/modules/IO.html +++ b/docs/api/modules/IO.html @@ -1,4 +1,4 @@ -IO | @michaelcoxon/utilities

    Index

    Classes

    IndentedStringBuilder +IO | @michaelcoxon/utilities

    Index

    Classes

    Interfaces

    IIndentedStringBuilder IStringBuilder diff --git a/docs/api/modules/Logging.html b/docs/api/modules/Logging.html index 013ce55..7b15185 100644 --- a/docs/api/modules/Logging.html +++ b/docs/api/modules/Logging.html @@ -1,4 +1,4 @@ -Logging | @michaelcoxon/utilities

    Index

    Enumerations

    LogLevel +Logging | @michaelcoxon/utilities

    Index

    Enumerations

    Classes

    AggregateLogger ConsoleLogger Logger diff --git a/docs/api/modules/ModelState.html b/docs/api/modules/ModelState.html index 1c8e14d..c668486 100644 --- a/docs/api/modules/ModelState.html +++ b/docs/api/modules/ModelState.html @@ -1,4 +1,4 @@ -ModelState | @michaelcoxon/utilities

    Index

    Classes

    BaseModelState +ModelState | @michaelcoxon/utilities

    Index

    Classes

    BaseModelState FactoryModelState ModelState PollingModelState diff --git a/docs/api/modules/Numbers.html b/docs/api/modules/Numbers.html index 27ce910..2e3c821 100644 --- a/docs/api/modules/Numbers.html +++ b/docs/api/modules/Numbers.html @@ -1,4 +1,4 @@ -Numbers | @michaelcoxon/utilities

    Index

    Classes

    Byte +Numbers | @michaelcoxon/utilities

    Index

    Classes

    Byte Int16 Int32 SignedByte diff --git a/docs/api/modules/Pipeline.html b/docs/api/modules/Pipeline.html index 3211b04..dd382ac 100644 --- a/docs/api/modules/Pipeline.html +++ b/docs/api/modules/Pipeline.html @@ -1,4 +1,4 @@ -Pipeline | @michaelcoxon/utilities

    Index

    Classes

    Pipeline +Pipeline | @michaelcoxon/utilities

    Index

    Classes

    Interfaces

    IContext IPipelineTask IPipelineTaskQueue diff --git a/docs/api/modules/Promises.html b/docs/api/modules/Promises.html index 792c0ac..de136e8 100644 --- a/docs/api/modules/Promises.html +++ b/docs/api/modules/Promises.html @@ -1,4 +1,4 @@ -Promises | @michaelcoxon/utilities

    Index

    Classes

    AsyncWrapper +Promises | @michaelcoxon/utilities

    Index

    Classes

    AsyncWrapper CancellablePromise CancellationToken CancellationTokenSource diff --git a/docs/api/modules/Result.html b/docs/api/modules/Result.html index 0700ce6..e790be4 100644 --- a/docs/api/modules/Result.html +++ b/docs/api/modules/Result.html @@ -1,4 +1,4 @@ -Result | @michaelcoxon/utilities

    Index

    Classes

    Result +Result | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/modules/Storage.html b/docs/api/modules/Storage.html index f2024c6..b568203 100644 --- a/docs/api/modules/Storage.html +++ b/docs/api/modules/Storage.html @@ -1,3 +1,3 @@ -Storage | @michaelcoxon/utilities

    Index

    Classes

    StorageRepository +Storage | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/modules/Strings.html b/docs/api/modules/Strings.html index b6f60ca..7376af5 100644 --- a/docs/api/modules/Strings.html +++ b/docs/api/modules/Strings.html @@ -1,4 +1,4 @@ -Strings | @michaelcoxon/utilities

    Index

    Variables

    ESCAPE_REGEX_SEARCH +Strings | @michaelcoxon/utilities

    Index

    Variables

    ESCAPE_REGEX_SEARCH FORMAT_REGEX KEY_VALUE_SEPARATOR KEY_WORD_SEPARATOR diff --git a/docs/api/modules/Type.html b/docs/api/modules/Type.html index df7931f..7e06f4a 100644 --- a/docs/api/modules/Type.html +++ b/docs/api/modules/Type.html @@ -1,4 +1,4 @@ -Type | @michaelcoxon/utilities

    Index

    Classes

    Type +Type | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Action.html b/docs/api/types/Action.html index 01806a4..52ce968 100644 --- a/docs/api/types/Action.html +++ b/docs/api/types/Action.html @@ -1,2 +1,2 @@ Action | @michaelcoxon/utilities

    Type alias Action<T>

    Action<T>: (() => T)

    Type Parameters

    • T

    Type declaration

      • (): T
      • Shortcut for () => T

        -

        Returns T

    Generated using TypeDoc

    \ No newline at end of file +

    Returns T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/AnyFunction.html b/docs/api/types/AnyFunction.html index dbe3b32..84cb68d 100644 --- a/docs/api/types/AnyFunction.html +++ b/docs/api/types/AnyFunction.html @@ -1,2 +1,2 @@ AnyFunction | @michaelcoxon/utilities
    AnyFunction: ((...args) => any)

    Type declaration

      • (...args): any
      • Represents any function

        -

        Parameters

        • Rest ...args: any[]

        Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • Rest ...args: any[]

    Returns any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Awaitable.html b/docs/api/types/Awaitable.html index 486d0e7..e218ce4 100644 --- a/docs/api/types/Awaitable.html +++ b/docs/api/types/Awaitable.html @@ -1,2 +1,2 @@ Awaitable | @michaelcoxon/utilities

    Type alias Awaitable<T>

    Awaitable<T>: T | PromiseLike<T>

    Shortcut for T | Promise

    -

    Type Parameters

    • T

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    • T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Cache.IExpiryPolicyDelegate.html b/docs/api/types/Cache.IExpiryPolicyDelegate.html index 8039bb7..5972c2d 100644 --- a/docs/api/types/Cache.IExpiryPolicyDelegate.html +++ b/docs/api/types/Cache.IExpiryPolicyDelegate.html @@ -1,3 +1,3 @@ IExpiryPolicyDelegate | @michaelcoxon/utilities

    Type alias IExpiryPolicyDelegate<T, TAsyncCacheItem>

    IExpiryPolicyDelegate<T, TAsyncCacheItem>: ((value) => boolean)

    Type Parameters

    Type declaration

      • (value): boolean
      • A function that returns true if the value is expired.

        Parameters

        • value: TAsyncCacheItem

        Returns boolean

        Argument

        value the value to evaluate.

        -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Comparison.html b/docs/api/types/Comparison.html index a6e270f..02f57ed 100644 --- a/docs/api/types/Comparison.html +++ b/docs/api/types/Comparison.html @@ -1,2 +1,2 @@ Comparison | @michaelcoxon/utilities

    Type alias Comparison<T>

    Comparison<T>: ((a, y) => number)

    Type Parameters

    • T

    Type declaration

      • (a, y): number
      • Represents a comparision between two items of the same type. Should return 0 if they are the same, >0 if a > b, <0 if a < b.

        -

        Parameters

        • a: T
        • y: T

        Returns number

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • a: T
    • y: T

    Returns number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Configuration.ConfigValue.html b/docs/api/types/Configuration.ConfigValue.html index d845595..bd081ad 100644 --- a/docs/api/types/Configuration.ConfigValue.html +++ b/docs/api/types/Configuration.ConfigValue.html @@ -1 +1 @@ -ConfigValue | @michaelcoxon/utilities
    ConfigValue: any[] | Record<string, any> | string | number | boolean

    Generated using TypeDoc

    \ No newline at end of file +ConfigValue | @michaelcoxon/utilities
    ConfigValue: any[] | Record<string, any> | string | number | boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/ConstructorFor.html b/docs/api/types/ConstructorFor.html index 69d41f3..ad8a751 100644 --- a/docs/api/types/ConstructorFor.html +++ b/docs/api/types/ConstructorFor.html @@ -1,2 +1,2 @@ ConstructorFor | @michaelcoxon/utilities

    Type alias ConstructorFor<T>

    ConstructorFor<T>: (new (...args) => T)

    Type Parameters

    • T

    Type declaration

      • new (...args): T
      • Helper type for representing constructors

        -

        Parameters

        • Rest ...args: any[]

        Returns T

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • Rest ...args: any[]

    Returns T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Enumerables.IEnumerableOrArray.html b/docs/api/types/Enumerables.IEnumerableOrArray.html index 3fa06da..6a0cea7 100644 --- a/docs/api/types/Enumerables.IEnumerableOrArray.html +++ b/docs/api/types/Enumerables.IEnumerableOrArray.html @@ -1,2 +1,2 @@ IEnumerableOrArray | @michaelcoxon/utilities
    IEnumerableOrArray<T>: T[] | IEnumerable<T>

    A type that is either an array or an enumerable

    -

    Type Parameters

    • T

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    • T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Events.EventHandler.html b/docs/api/types/Events.EventHandler.html index 8b240a6..7ddc763 100644 --- a/docs/api/types/Events.EventHandler.html +++ b/docs/api/types/Events.EventHandler.html @@ -1,2 +1,2 @@ EventHandler | @michaelcoxon/utilities

    Type alias EventHandler<TEventArgs>

    EventHandler<TEventArgs>: ((sender, args) => void)

    Type Parameters

    • TEventArgs

    Type declaration

      • (sender, args): void
      • The event handler type

        -

        Parameters

        • sender: any
        • args: TEventArgs

        Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • sender: any
    • args: TEventArgs

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Func1.html b/docs/api/types/Func1.html index 72b48eb..2eec1d9 100644 --- a/docs/api/types/Func1.html +++ b/docs/api/types/Func1.html @@ -1,2 +1,2 @@ Func1 | @michaelcoxon/utilities

    Type alias Func1<Tin, Tout>

    Func1<Tin, Tout>: ((arg1) => Tout)

    Type Parameters

    • Tin

    • Tout

    Type declaration

      • (arg1): Tout
      • Shortcut for (arg1: Tin) => Tout

        -

        Parameters

        • arg1: Tin

        Returns Tout

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • arg1: Tin

    Returns Tout

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Func2.html b/docs/api/types/Func2.html index a94998a..8ab21f7 100644 --- a/docs/api/types/Func2.html +++ b/docs/api/types/Func2.html @@ -1,2 +1,2 @@ Func2 | @michaelcoxon/utilities

    Type alias Func2<Tin1, Tin2, Tout>

    Func2<Tin1, Tin2, Tout>: ((arg1, arg2) => Tout)

    Type Parameters

    • Tin1

    • Tin2

    • Tout

    Type declaration

      • (arg1, arg2): Tout
      • Shortcut for (arg1: Tin1, arg2: Tin2) => Tout

        -

        Parameters

        • arg1: Tin1
        • arg2: Tin2

        Returns Tout

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • arg1: Tin1
    • arg2: Tin2

    Returns Tout

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Func3.html b/docs/api/types/Func3.html index 1975cbc..43e54c5 100644 --- a/docs/api/types/Func3.html +++ b/docs/api/types/Func3.html @@ -1,2 +1,2 @@ Func3 | @michaelcoxon/utilities

    Type alias Func3<Tin1, Tin2, Tin3, Tout>

    Func3<Tin1, Tin2, Tin3, Tout>: ((arg1, arg2, arg3) => Tout)

    Type Parameters

    • Tin1

    • Tin2

    • Tin3

    • Tout

    Type declaration

      • (arg1, arg2, arg3): Tout
      • Shortcut for (arg1: Tin1, arg2: Tin2, arg3: Tin3) => Tout

        -

        Parameters

        • arg1: Tin1
        • arg2: Tin2
        • arg3: Tin3

        Returns Tout

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • arg1: Tin1
    • arg2: Tin2
    • arg3: Tin3

    Returns Tout

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Func4.html b/docs/api/types/Func4.html index e07a8db..288b31a 100644 --- a/docs/api/types/Func4.html +++ b/docs/api/types/Func4.html @@ -1,2 +1,2 @@ Func4 | @michaelcoxon/utilities

    Type alias Func4<Tin1, Tin2, Tin3, Tin4, Tout>

    Func4<Tin1, Tin2, Tin3, Tin4, Tout>: ((arg1, arg2, arg3, arg4) => Tout)

    Type Parameters

    • Tin1

    • Tin2

    • Tin3

    • Tin4

    • Tout

    Type declaration

      • (arg1, arg2, arg3, arg4): Tout
      • Shortcut for (arg1: Tin1, arg2: Tin2, arg3: Tin3, arg4: Tin4) => Tout

        -

        Parameters

        • arg1: Tin1
        • arg2: Tin2
        • arg3: Tin3
        • arg4: Tin4

        Returns Tout

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • arg1: Tin1
    • arg2: Tin2
    • arg3: Tin3
    • arg4: Tin4

    Returns Tout

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Func5.html b/docs/api/types/Func5.html index 97676d6..8d5a009 100644 --- a/docs/api/types/Func5.html +++ b/docs/api/types/Func5.html @@ -1,2 +1,2 @@ Func5 | @michaelcoxon/utilities

    Type alias Func5<Tin1, Tin2, Tin3, Tin4, Tin5, Tout>

    Func5<Tin1, Tin2, Tin3, Tin4, Tin5, Tout>: ((arg1, arg2, arg3, arg4, arg5) => Tout)

    Type Parameters

    • Tin1

    • Tin2

    • Tin3

    • Tin4

    • Tin5

    • Tout

    Type declaration

      • (arg1, arg2, arg3, arg4, arg5): Tout
      • Shortcut for (arg1: Tin1, arg2: Tin2, arg3: Tin3, arg4: Tin4, arg5: Tin5) => Tout

        -

        Parameters

        • arg1: Tin1
        • arg2: Tin2
        • arg3: Tin3
        • arg4: Tin4
        • arg5: Tin5

        Returns Tout

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • arg1: Tin1
    • arg2: Tin2
    • arg3: Tin3
    • arg4: Tin4
    • arg5: Tin5

    Returns Tout

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Func6.html b/docs/api/types/Func6.html index 5959c49..d58c2cb 100644 --- a/docs/api/types/Func6.html +++ b/docs/api/types/Func6.html @@ -1,2 +1,2 @@ Func6 | @michaelcoxon/utilities

    Type alias Func6<Tin1, Tin2, Tin3, Tin4, Tin5, Tin6, Tout>

    Func6<Tin1, Tin2, Tin3, Tin4, Tin5, Tin6, Tout>: ((arg1, arg2, arg3, arg4, arg5, arg6) => Tout)

    Type Parameters

    • Tin1

    • Tin2

    • Tin3

    • Tin4

    • Tin5

    • Tin6

    • Tout

    Type declaration

      • (arg1, arg2, arg3, arg4, arg5, arg6): Tout
      • Shortcut for (arg1: Tin1, arg2: Tin2, arg3: Tin3, arg4: Tin4, arg5: Tin5, arg6: Tin6) => Tout

        -

        Parameters

        • arg1: Tin1
        • arg2: Tin2
        • arg3: Tin3
        • arg4: Tin4
        • arg5: Tin5
        • arg6: Tin6

        Returns Tout

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • arg1: Tin1
    • arg2: Tin2
    • arg3: Tin3
    • arg4: Tin4
    • arg5: Tin5
    • arg6: Tin6

    Returns Tout

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/KeySelector.html b/docs/api/types/KeySelector.html index 5b17ee3..bf70322 100644 --- a/docs/api/types/KeySelector.html +++ b/docs/api/types/KeySelector.html @@ -1,2 +1,2 @@ KeySelector | @michaelcoxon/utilities

    Type alias KeySelector<T, K>

    KeySelector<T, K>: ((propertyName) => T[K])

    Type Parameters

    • T

    • K extends keyof T

    Type declaration

      • (propertyName): T[K]
      • A function that returns the value of the key

        -

        Parameters

        • propertyName: K

        Returns T[K]

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • propertyName: K

    Returns T[K]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/KeyValuePair.html b/docs/api/types/KeyValuePair.html index 8105edc..5b61880 100644 --- a/docs/api/types/KeyValuePair.html +++ b/docs/api/types/KeyValuePair.html @@ -1,2 +1,2 @@ KeyValuePair | @michaelcoxon/utilities

    Type alias KeyValuePair<TKey, TValue>

    KeyValuePair<TKey, TValue>: {
        key: TKey;
        value: TValue;
    }

    A key and value pair

    -

    Type Parameters

    • TKey

    • TValue

    Type declaration

    • Readonly key: TKey
    • Readonly value: TValue

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    • TKey

    • TValue

    Type declaration

    • Readonly key: TKey
    • Readonly value: TValue

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Nullable.html b/docs/api/types/Nullable.html index 8152a55..43cb93a 100644 --- a/docs/api/types/Nullable.html +++ b/docs/api/types/Nullable.html @@ -1,2 +1,2 @@ Nullable | @michaelcoxon/utilities

    Type alias Nullable<T>

    Nullable<T>: T | null

    Shortcut for T | null

    -

    Type Parameters

    • T

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    • T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Predicate.html b/docs/api/types/Predicate.html index adbf7b5..5eff410 100644 --- a/docs/api/types/Predicate.html +++ b/docs/api/types/Predicate.html @@ -1,2 +1,2 @@ Predicate | @michaelcoxon/utilities

    Type alias Predicate<T>

    Predicate<T>: ((item) => boolean)

    Type Parameters

    • T

    Type declaration

      • (item): boolean
      • Takes an item and return a boolean value from an assertion on the item

        -

        Parameters

        • item: T

        Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • item: T

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/QueryStringItem.html b/docs/api/types/QueryStringItem.html index f822f42..f523057 100644 --- a/docs/api/types/QueryStringItem.html +++ b/docs/api/types/QueryStringItem.html @@ -1,2 +1,2 @@ QueryStringItem | @michaelcoxon/utilities

    Type alias QueryStringItem

    QueryStringItem: {
        name: string;
        value: string | number | boolean;
    }

    Element in a QueryStringCollection

    -

    Type declaration

    • name: string
    • value: string | number | boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Type declaration

    • name: string
    • value: string | number | boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Selector.html b/docs/api/types/Selector.html index 4baa599..13785c3 100644 --- a/docs/api/types/Selector.html +++ b/docs/api/types/Selector.html @@ -1,2 +1,2 @@ Selector | @michaelcoxon/utilities

    Type alias Selector<T, TReturn>

    Selector<T, TReturn>: ((item) => TReturn)

    Type Parameters

    • T

    • TReturn

    Type declaration

      • (item): TReturn
      • Takes an item and maps it to TReturn

        -

        Parameters

        • item: T

        Returns TReturn

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    • item: T

    Returns TReturn

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/types/Undefinable.html b/docs/api/types/Undefinable.html index 4fc1fea..2b0fe06 100644 --- a/docs/api/types/Undefinable.html +++ b/docs/api/types/Undefinable.html @@ -1,2 +1,2 @@ Undefinable | @michaelcoxon/utilities

    Type alias Undefinable<T>

    Undefinable<T>: T | undefined

    Shortcut for T | undefined

    -

    Type Parameters

    • T

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    • T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Booleans._caseInsensitiveFalseString.html b/docs/api/variables/Booleans._caseInsensitiveFalseString.html index 44e5e54..db28720 100644 --- a/docs/api/variables/Booleans._caseInsensitiveFalseString.html +++ b/docs/api/variables/Booleans._caseInsensitiveFalseString.html @@ -1 +1 @@ -_caseInsensitiveFalseString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +_caseInsensitiveFalseString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Booleans._caseInsensitiveTrueString.html b/docs/api/variables/Booleans._caseInsensitiveTrueString.html index 7ff1149..36a899c 100644 --- a/docs/api/variables/Booleans._caseInsensitiveTrueString.html +++ b/docs/api/variables/Booleans._caseInsensitiveTrueString.html @@ -1 +1 @@ -_caseInsensitiveTrueString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +_caseInsensitiveTrueString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Booleans.falseString.html b/docs/api/variables/Booleans.falseString.html index 03b8cef..b4eb655 100644 --- a/docs/api/variables/Booleans.falseString.html +++ b/docs/api/variables/Booleans.falseString.html @@ -1 +1 @@ -falseString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +falseString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Booleans.trueString.html b/docs/api/variables/Booleans.trueString.html index 853953b..e869696 100644 --- a/docs/api/variables/Booleans.trueString.html +++ b/docs/api/variables/Booleans.trueString.html @@ -1 +1 @@ -trueString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +trueString | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.at.html b/docs/api/variables/Cache.expire.at.html index e4d6b5d..5f34fac 100644 --- a/docs/api/variables/Cache.expire.at.html +++ b/docs/api/variables/Cache.expire.at.html @@ -1 +1 @@ -at | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +at | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.in.html b/docs/api/variables/Cache.expire.in.html index 98945ef..86667df 100644 --- a/docs/api/variables/Cache.expire.in.html +++ b/docs/api/variables/Cache.expire.in.html @@ -1 +1 @@ -in | @michaelcoxon/utilities
    in: ((time) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +in | @michaelcoxon/utilities
    in: ((time) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.inDays.html b/docs/api/variables/Cache.expire.inDays.html index d6c6f3a..b12c3ee 100644 --- a/docs/api/variables/Cache.expire.inDays.html +++ b/docs/api/variables/Cache.expire.inDays.html @@ -1 +1 @@ -inDays | @michaelcoxon/utilities
    inDays: ((days) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +inDays | @michaelcoxon/utilities
    inDays: ((days) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.inHours.html b/docs/api/variables/Cache.expire.inHours.html index 6d58a85..cecd402 100644 --- a/docs/api/variables/Cache.expire.inHours.html +++ b/docs/api/variables/Cache.expire.inHours.html @@ -1 +1 @@ -inHours | @michaelcoxon/utilities
    inHours: ((hours) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +inHours | @michaelcoxon/utilities
    inHours: ((hours) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.inMinutes.html b/docs/api/variables/Cache.expire.inMinutes.html index b9d9f64..aa7ca09 100644 --- a/docs/api/variables/Cache.expire.inMinutes.html +++ b/docs/api/variables/Cache.expire.inMinutes.html @@ -1 +1 @@ -inMinutes | @michaelcoxon/utilities
    inMinutes: ((minutes) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +inMinutes | @michaelcoxon/utilities
    inMinutes: ((minutes) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.inMonths.html b/docs/api/variables/Cache.expire.inMonths.html index 4d223eb..8758760 100644 --- a/docs/api/variables/Cache.expire.inMonths.html +++ b/docs/api/variables/Cache.expire.inMonths.html @@ -1 +1 @@ -inMonths | @michaelcoxon/utilities
    inMonths: ((months) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +inMonths | @michaelcoxon/utilities
    inMonths: ((months) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.inSeconds.html b/docs/api/variables/Cache.expire.inSeconds.html index 743c68c..306126d 100644 --- a/docs/api/variables/Cache.expire.inSeconds.html +++ b/docs/api/variables/Cache.expire.inSeconds.html @@ -1 +1 @@ -inSeconds | @michaelcoxon/utilities
    inSeconds: ((seconds) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +inSeconds | @michaelcoxon/utilities
    inSeconds: ((seconds) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.inYears.html b/docs/api/variables/Cache.expire.inYears.html index e31672e..47a3f04 100644 --- a/docs/api/variables/Cache.expire.inYears.html +++ b/docs/api/variables/Cache.expire.inYears.html @@ -1 +1 @@ -inYears | @michaelcoxon/utilities
    inYears: ((years) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +inYears | @michaelcoxon/utilities
    inYears: ((years) => IExpiryPolicyDelegate<unknown, IAsyncCacheItem<unknown>>)

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.now.html b/docs/api/variables/Cache.expire.now.html index 83135e8..542d282 100644 --- a/docs/api/variables/Cache.expire.now.html +++ b/docs/api/variables/Cache.expire.now.html @@ -1 +1 @@ -now | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +now | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.tomorrow.html b/docs/api/variables/Cache.expire.tomorrow.html index 820558a..3071e86 100644 --- a/docs/api/variables/Cache.expire.tomorrow.html +++ b/docs/api/variables/Cache.expire.tomorrow.html @@ -1 +1 @@ -tomorrow | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +tomorrow | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Cache.expire.when.html b/docs/api/variables/Cache.expire.when.html index ac9ce85..662dccc 100644 --- a/docs/api/variables/Cache.expire.when.html +++ b/docs/api/variables/Cache.expire.when.html @@ -1 +1 @@ -when | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +when | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Comparers.DefaultComparers.html b/docs/api/variables/Comparers.DefaultComparers.html index 54df78a..2885e16 100644 --- a/docs/api/variables/Comparers.DefaultComparers.html +++ b/docs/api/variables/Comparers.DefaultComparers.html @@ -1 +1 @@ -DefaultComparers | @michaelcoxon/utilities
    DefaultComparers: {
        DefaultComparer: DefaultComparer<any>;
        NumberComparer: default;
        ObjectComparer: default<any>;
        StringComparer: default;
    } = ...

    Type declaration

    • DefaultComparer: DefaultComparer<any>
    • NumberComparer: default
    • ObjectComparer: default<any>
    • StringComparer: default

    Generated using TypeDoc

    \ No newline at end of file +DefaultComparers | @michaelcoxon/utilities
    DefaultComparers: {
        DefaultComparer: DefaultComparer<any>;
        NumberComparer: default;
        ObjectComparer: default<any>;
        StringComparer: default;
    } = ...

    Type declaration

    • DefaultComparer: DefaultComparer<any>
    • NumberComparer: default
    • ObjectComparer: default<any>
    • StringComparer: default

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Logging.NullLogger.html b/docs/api/variables/Logging.NullLogger.html index 38781ae..3351941 100644 --- a/docs/api/variables/Logging.NullLogger.html +++ b/docs/api/variables/Logging.NullLogger.html @@ -1 +1 @@ -NullLogger | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +NullLogger | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Strings.ESCAPE_REGEX_SEARCH.html b/docs/api/variables/Strings.ESCAPE_REGEX_SEARCH.html index 3d9e709..7d205aa 100644 --- a/docs/api/variables/Strings.ESCAPE_REGEX_SEARCH.html +++ b/docs/api/variables/Strings.ESCAPE_REGEX_SEARCH.html @@ -1 +1 @@ -ESCAPE_REGEX_SEARCH | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +ESCAPE_REGEX_SEARCH | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Strings.FORMAT_REGEX.html b/docs/api/variables/Strings.FORMAT_REGEX.html index bb6793c..2931287 100644 --- a/docs/api/variables/Strings.FORMAT_REGEX.html +++ b/docs/api/variables/Strings.FORMAT_REGEX.html @@ -1 +1 @@ -FORMAT_REGEX | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +FORMAT_REGEX | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Strings.KEY_VALUE_SEPARATOR.html b/docs/api/variables/Strings.KEY_VALUE_SEPARATOR.html index 37bef77..e289d02 100644 --- a/docs/api/variables/Strings.KEY_VALUE_SEPARATOR.html +++ b/docs/api/variables/Strings.KEY_VALUE_SEPARATOR.html @@ -1 +1 @@ -KEY_VALUE_SEPARATOR | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +KEY_VALUE_SEPARATOR | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Strings.KEY_WORD_SEPARATOR.html b/docs/api/variables/Strings.KEY_WORD_SEPARATOR.html index 3eec48e..84618ae 100644 --- a/docs/api/variables/Strings.KEY_WORD_SEPARATOR.html +++ b/docs/api/variables/Strings.KEY_WORD_SEPARATOR.html @@ -1 +1 @@ -KEY_WORD_SEPARATOR | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +KEY_WORD_SEPARATOR | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Strings.WHITESPACE.html b/docs/api/variables/Strings.WHITESPACE.html index 1358275..040e87e 100644 --- a/docs/api/variables/Strings.WHITESPACE.html +++ b/docs/api/variables/Strings.WHITESPACE.html @@ -1 +1 @@ -WHITESPACE | @michaelcoxon/utilities
    WHITESPACE: "\\s\\uFEFF\\xA0" = "\\s\\uFEFF\\xA0"

    Generated using TypeDoc

    \ No newline at end of file +WHITESPACE | @michaelcoxon/utilities
    WHITESPACE: "\\s\\uFEFF\\xA0" = "\\s\\uFEFF\\xA0"

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Strings.empty.html b/docs/api/variables/Strings.empty.html index 5dbe0f4..e1b8aee 100644 --- a/docs/api/variables/Strings.empty.html +++ b/docs/api/variables/Strings.empty.html @@ -1 +1 @@ -empty | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +empty | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/Strings.newLine.html b/docs/api/variables/Strings.newLine.html index e7e1a5a..bae0da4 100644 --- a/docs/api/variables/Strings.newLine.html +++ b/docs/api/variables/Strings.newLine.html @@ -1 +1 @@ -newLine | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +newLine | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/api/variables/empty.html b/docs/api/variables/empty.html index cdb1706..db4fc21 100644 --- a/docs/api/variables/empty.html +++ b/docs/api/variables/empty.html @@ -1 +1 @@ -empty | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file +empty | @michaelcoxon/utilities

    Generated using TypeDoc

    \ No newline at end of file