diff --git a/functions/amend.html b/functions/amend.html index 79cd8e6aa..fdadf2f6a 100644 --- a/functions/amend.html +++ b/functions/amend.html @@ -1,2 +1,2 @@ amend | type-plus - v8.0.0-beta.6

Function amend

+

Type Parameters

Parameters

Returns {
    intersect<T>(): S | T;
    union<T>(): T & S;
}

diff --git a/functions/as.html b/functions/as.html index 12ab43226..24ca995f1 100644 --- a/functions/as.html +++ b/functions/as.html @@ -1 +1 @@ -as | type-plus - v8.0.0-beta.6

Function as

+as | type-plus - v8.0.0-beta.6

Function as

diff --git a/functions/asAny.html b/functions/asAny.html index e0deae9a9..4ce217125 100644 --- a/functions/asAny.html +++ b/functions/asAny.html @@ -1 +1 @@ -asAny | type-plus - v8.0.0-beta.6

Function asAny

+asAny | type-plus - v8.0.0-beta.6

Function asAny

diff --git a/functions/assertType.html b/functions/assertType.html index 0e78a128f..be09255ae 100644 --- a/functions/assertType.html +++ b/functions/assertType.html @@ -1,8 +1,8 @@ assertType | type-plus - v8.0.0-beta.6

Function assertType

  • 💥 immediate 🚦 assertion

    Assert the subject satisfies the specified type T

    -

    Type Parameters

    • T

    Parameters

    • subject: T

    Returns asserts subject is T

  • Type Parameters

    • T

    Parameters

    • subject: unknown
    • validator: ((s: T) => boolean)
        • (s): boolean
        • Parameters

          Returns boolean

    Returns asserts subject is T

  • Type Parameters

    • T extends (new (..._args: any[]) => any)

    Parameters

    • subject: unknown
    • classConstructor: T

    Returns asserts subject is InstanceType<T>

    this is not a failsafe test

    -

Methods

as +

Type Parameters

  • T

Parameters

  • subject: T

Returns asserts subject is T

  • Type Parameters

    • T

    Parameters

    • subject: unknown
    • validator: ((s: T) => boolean)
        • (s): boolean
        • Parameters

          Returns boolean

    Returns asserts subject is T

  • Type Parameters

    • T extends (new (..._args: any[]) => any)

    Parameters

    • subject: unknown
    • classConstructor: T

    Returns asserts subject is InstanceType<T>

    this is not a failsafe test

    +
  • Methods

    • creates a custom assertion function with standard TypeError. +

    Methods

    • creates a custom assertion function with standard TypeError. Currently this requires explicity type annotation, thus making it hard to use: https://github.com/microsoft/TypeScript/issues/41047

      -

      Type Parameters

      • T

      Parameters

      • validator: ((s: T) => boolean)
          • (s): boolean
          • Parameters

            Returns boolean

      Returns ((subject: unknown) => asserts subject is T)

        • (subject): asserts subject is T
        • Parameters

          • subject: unknown

          Returns asserts subject is T

    • 💀 deprecated. It does not work in all cases.

      +

      Type Parameters

      • T

      Parameters

      • validator: ((s: T) => boolean)
          • (s): boolean
          • Parameters

            Returns boolean

      Returns ((subject: unknown) => asserts subject is T)

        • (subject): asserts subject is T
        • Parameters

          • subject: unknown

          Returns asserts subject is T

    +

    Parameters

    Returns asserts subject is AnyConstructor

    diff --git a/functions/brand-1.html b/functions/brand-1.html index 082cd4c43..e0e4c6aa3 100644 --- a/functions/brand-1.html +++ b/functions/brand-1.html @@ -1,3 +1,3 @@ brand | type-plus - v8.0.0-beta.6

    Function brand

    +

    Type Parameters

    Parameters

    Returns (<T>(subject: T) => Brand<B, Widen<T>>)

  • Creates a branded value of specified type.

    +

    Type Parameters

    Parameters

    Returns Brand<B, Widen<T>>

  • diff --git a/functions/canAssign-1.html b/functions/canAssign-1.html index 9f2f2d1ba..737209bb5 100644 --- a/functions/canAssign-1.html +++ b/functions/canAssign-1.html @@ -1 +1 @@ -canAssign | type-plus - v8.0.0-beta.6

    Function canAssign

    +canAssign | type-plus - v8.0.0-beta.6

    Function canAssign

    diff --git a/functions/compose.html b/functions/compose.html index a7f766976..791d3792f 100644 --- a/functions/compose.html +++ b/functions/compose.html @@ -3,4 +3,4 @@ and return the result of the last function.

    args functions to be composed. Each function will receive the return value of the previous function as its parameters.

    -
    +
    diff --git a/functions/context.html b/functions/context.html index ba7ae1a7e..bbb51f849 100644 --- a/functions/context.html +++ b/functions/context.html @@ -3,4 +3,4 @@

    Returns ContextBuilder<Init, Ctx>

    the context builder where you can use extend() to add context, and use build() to build the context.

    -
    +
    diff --git a/functions/drop.html b/functions/drop.html index 505cfd764..84e821381 100644 --- a/functions/drop.html +++ b/functions/drop.html @@ -1,3 +1,3 @@ drop | type-plus - v8.0.0-beta.6

    Function drop

    +

    Type Parameters

    Parameters

    Returns DropMatch<A, C>

    diff --git a/functions/everyKey.html b/functions/everyKey.html index 1e267cd3d..f7f486fc0 100644 --- a/functions/everyKey.html +++ b/functions/everyKey.html @@ -1 +1 @@ -everyKey | type-plus - v8.0.0-beta.6

    Function everyKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, array: string[]) => unknown)
          • (this, key, index, array): unknown
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • array: string[]

            Returns unknown

      • OptionalthisArg: T

      Returns boolean

    +everyKey | type-plus - v8.0.0-beta.6

    Function everyKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, array: string[]) => unknown)
          • (this, key, index, array): unknown
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • array: string[]

            Returns unknown

      • OptionalthisArg: T

      Returns boolean

    diff --git a/functions/extractFunction-1.html b/functions/extractFunction-1.html index a4be8c997..7fae3d65d 100644 --- a/functions/extractFunction-1.html +++ b/functions/extractFunction-1.html @@ -1,3 +1,3 @@ extractFunction | type-plus - v8.0.0-beta.6

    Function extractFunction

    +
    diff --git a/functions/facade.html b/functions/facade.html index 418b91b77..243d70a72 100644 --- a/functions/facade.html +++ b/functions/facade.html @@ -1,2 +1,2 @@ facade | type-plus - v8.0.0-beta.6

    Function facade

    • creates a facade of the subject.

      -

      Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Pick<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Pick<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Pick<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    +

    Type Parameters

    Parameters

    Returns Pick<T, P1>

  • Type Parameters

    Parameters

    Returns Pick<T, P1 | P2>

  • Type Parameters

    Parameters

    Returns Pick<T, P1 | P2 | P3>

  • Type Parameters

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4>

  • Type Parameters

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5>

  • Type Parameters

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6>

  • Type Parameters

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7>

  • Type Parameters

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8>

  • Type Parameters

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9>

  • Type Parameters

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9
        | P10>

  • Type Parameters

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9
        | P10
        | P11>

  • Type Parameters

    Parameters

    Returns Pick<T,
        | P1
        | P2
        | P3
        | P4
        | P5
        | P6
        | P7
        | P8
        | P9
        | P10
        | P11
        | P12>

  • diff --git a/functions/filterKey.html b/functions/filterKey.html index 2510ae9df..e6ae730eb 100644 --- a/functions/filterKey.html +++ b/functions/filterKey.html @@ -1 +1 @@ -filterKey | type-plus - v8.0.0-beta.6

    Function filterKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => boolean)
          • (this, key, index, obj, subject): boolean
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns boolean

      • OptionalthisArg: T

      Returns (keyof S)[]

    +filterKey | type-plus - v8.0.0-beta.6

    Function filterKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => boolean)
          • (this, key, index, obj, subject): boolean
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns boolean

      • OptionalthisArg: T

      Returns (keyof S)[]

    diff --git a/functions/findKey.html b/functions/findKey.html index ee7b43b0b..b7ead0911 100644 --- a/functions/findKey.html +++ b/functions/findKey.html @@ -1 +1 @@ -findKey | type-plus - v8.0.0-beta.6

    Function findKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => boolean)
          • (this, key, index, obj, subject): boolean
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns boolean

      • OptionalthisArg: T

      Returns keyof S | undefined

    +findKey | type-plus - v8.0.0-beta.6

    Function findKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => boolean)
          • (this, key, index, obj, subject): boolean
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns boolean

      • OptionalthisArg: T

      Returns keyof S | undefined

    diff --git a/functions/flavor-1.html b/functions/flavor-1.html index 8e866e39b..866dc1f05 100644 --- a/functions/flavor-1.html +++ b/functions/flavor-1.html @@ -1,3 +1,3 @@ flavor | type-plus - v8.0.0-beta.6

    Function flavor

    +

    Type Parameters

    Parameters

    Returns (<T>(subject: T) => Flavor<F, Widen<T>>)

  • Creates a branded value of specified type.

    +

    Type Parameters

    Parameters

    Returns Flavor<F, Widen<T>>

  • diff --git a/functions/forEachKey.html b/functions/forEachKey.html index 15905ec00..ebc56ace6 100644 --- a/functions/forEachKey.html +++ b/functions/forEachKey.html @@ -1 +1 @@ -forEachKey | type-plus - v8.0.0-beta.6

    Function forEachKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[]) => void)
          • (this, key, index, obj): void
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]

            Returns void

      • OptionalthisArg: T

      Returns void

    +forEachKey | type-plus - v8.0.0-beta.6

    Function forEachKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[]) => void)
          • (this, key, index, obj): void
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]

            Returns void

      • OptionalthisArg: T

      Returns void

    diff --git a/functions/getField.html b/functions/getField.html index b0fdfb41e..f3f22ca2f 100644 --- a/functions/getField.html +++ b/functions/getField.html @@ -1 +1 @@ -getField | type-plus - v8.0.0-beta.6

    Function getField

    +getField | type-plus - v8.0.0-beta.6

    Function getField

    diff --git a/functions/hasKey-1.html b/functions/hasKey-1.html index 130b0c38c..490f801e3 100644 --- a/functions/hasKey-1.html +++ b/functions/hasKey-1.html @@ -1 +1 @@ -hasKey | type-plus - v8.0.0-beta.6

    Function hasKey

    +hasKey | type-plus - v8.0.0-beta.6

    Function hasKey

    diff --git a/functions/hasProperty.html b/functions/hasProperty.html index df456a4cf..081d51b11 100644 --- a/functions/hasProperty.html +++ b/functions/hasProperty.html @@ -1 +1 @@ -hasProperty | type-plus - v8.0.0-beta.6

    Function hasProperty

    +hasProperty | type-plus - v8.0.0-beta.6

    Function hasProperty

    diff --git a/functions/inspect.html b/functions/inspect.html index e78d76092..24761aa35 100644 --- a/functions/inspect.html +++ b/functions/inspect.html @@ -1,2 +1,2 @@ inspect | type-plus - v8.0.0-beta.6

    Function inspect

    • Inspects the value and returns it.

      -

      Type Parameters

      • T

      Parameters

      • value: T
      • inspector: ((value: Readonly<T>) => void) = console.dir
          • (value): void
          • Parameters

            • value: Readonly<T>

            Returns void

      Returns T

    +

    Type Parameters

    Parameters

    Returns T

    diff --git a/functions/isConstructor.html b/functions/isConstructor.html index d3b787645..df1ea2321 100644 --- a/functions/isConstructor.html +++ b/functions/isConstructor.html @@ -4,4 +4,4 @@

    If the subject is an arrow function, it can still return true after compilation.

    Thus this function is not safe to use.

    -
    +
    diff --git a/functions/isInstanceof.html b/functions/isInstanceof.html index 9c7d19e08..bd72325ee 100644 --- a/functions/isInstanceof.html +++ b/functions/isInstanceof.html @@ -1,2 +1,2 @@ isInstanceof | type-plus - v8.0.0-beta.6

    Function isInstanceof

    +

    Type Parameters

    Parameters

    Returns subject is InstanceType<T>

    diff --git a/functions/isPromise.html b/functions/isPromise.html index 9c1927090..d5c510614 100644 --- a/functions/isPromise.html +++ b/functions/isPromise.html @@ -1 +1 @@ -isPromise | type-plus - v8.0.0-beta.6

    Function isPromise

    +isPromise | type-plus - v8.0.0-beta.6

    Function isPromise

    diff --git a/functions/isSystemError.html b/functions/isSystemError.html index ca5aa18e0..35d7d043c 100644 --- a/functions/isSystemError.html +++ b/functions/isSystemError.html @@ -1,4 +1,4 @@ isSystemError | type-plus - v8.0.0-beta.6

    Function isSystemError

    +

    Type Parameters

    Parameters

    Returns err is SystemErrors[C]

    diff --git a/functions/isType.html b/functions/isType.html index 1426b14eb..3b8725111 100644 --- a/functions/isType.html +++ b/functions/isType.html @@ -1,6 +1,6 @@ isType | type-plus - v8.0.0-beta.6

    Function isType

    Properties

    Type Parameters

    • T

    Parameters

    • subject: T

    Returns subject is T

  • Is the subject of type T, satisfying the supplied validator

    +

    Type Parameters

    • T

    Parameters

    • subject: unknown
    • validator: ((s: T) => unknown)
        • (s): unknown
        • Parameters

          Returns unknown

    Returns subject is T

  • Properties

    Methods

    equal f t @@ -8,10 +8,10 @@

    Type Parameters

    • _S extends never

    Returns unknown

    use isType<T>() or testType.never<T>() instead

  • (subject): subject is never
  • Check is the value is type never

    Parameters

    • subject: never

    Returns subject is never

    use isType<T>() or testType.never<T>() instead

    -
  • Methods

    • Are types A and B equals/not equals. +

    Methods

    • Are types A and B equals/not equals. Easier to use than isType.t<>() and isType.f<>(), when doing type level only equality comparison as you don't have to import Equal<>.

      Type Parameters

      • _C
      • A
      • B

      Returns void

      use testType.equal() instead

      -
    +
    diff --git a/functions/literalArray.html b/functions/literalArray.html index 8ce2457de..67a842f17 100644 --- a/functions/literalArray.html +++ b/functions/literalArray.html @@ -1,3 +1,3 @@ literalArray | type-plus - v8.0.0-beta.6

    Function literalArray

    • 🦴 utilities

      return an array whose items are restricted to the provided literals.

      -

      Type Parameters

      • T extends string | number | symbol

      Parameters

      • Rest...entries: T[]

      Returns T[]

    +

    Type Parameters

    Parameters

    Returns T[]

    diff --git a/functions/mapKey.html b/functions/mapKey.html index a14b6948a..e2912dd32 100644 --- a/functions/mapKey.html +++ b/functions/mapKey.html @@ -1 +1 @@ -mapKey | type-plus - v8.0.0-beta.6

    Function mapKey

    • Type Parameters

      • R
      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => R)
          • (this, key, index, obj, subject): R
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns R

      • OptionalthisArg: T

      Returns R[]

    +mapKey | type-plus - v8.0.0-beta.6

    Function mapKey

    • Type Parameters

      • R
      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, obj: (keyof S)[], subject: S) => R)
          • (this, key, index, obj, subject): R
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • obj: (keyof S)[]
            • subject: S

            Returns R

      • OptionalthisArg: T

      Returns R[]

    diff --git a/functions/mapProperties.html b/functions/mapProperties.html index ffaa9e94c..cd59ab6b3 100644 --- a/functions/mapProperties.html +++ b/functions/mapProperties.html @@ -3,4 +3,4 @@ https://stackoverflow.com/questions/53964071/how-to-dynamically-create-mapped-type-in-typescript

    ramda has a similar function (mapObjIndexed()) with different parameter order. I keep this parameter order because this parameter order provides better type inference.

    -

    Type Parameters

    Parameters

    Returns {
        [K in keyof Subject]: ResultProp
    }

    +

    Type Parameters

    Parameters

    Returns {
        [K in keyof Subject]: ResultProp
    }

    diff --git a/functions/mapSeries.html b/functions/mapSeries.html index a18335bc5..22aad39f9 100644 --- a/functions/mapSeries.html +++ b/functions/mapSeries.html @@ -1 +1 @@ -mapSeries | type-plus - v8.0.0-beta.6

    Function mapSeries

    +mapSeries | type-plus - v8.0.0-beta.6

    Function mapSeries

    diff --git a/functions/merge-1.html b/functions/merge-1.html index ce2f29264..2b05397a2 100644 --- a/functions/merge-1.html +++ b/functions/merge-1.html @@ -3,4 +3,4 @@

    Type Parameters

    Parameters

    Returns Merge<A, B>

    merge({ a: 1 }, {} as { a?: string | undefined }) // { a: number | string }
     
    -
    +
    diff --git a/functions/nominalMatch.html b/functions/nominalMatch.html index ce0b0dd54..884d28862 100644 --- a/functions/nominalMatch.html +++ b/functions/nominalMatch.html @@ -1 +1 @@ -nominalMatch | type-plus - v8.0.0-beta.6

    Function nominalMatch

    +nominalMatch | type-plus - v8.0.0-beta.6

    Function nominalMatch

    diff --git a/functions/omit-1.html b/functions/omit-1.html index 0ff9ec12e..50a821d23 100644 --- a/functions/omit-1.html +++ b/functions/omit-1.html @@ -1 +1 @@ -omit | type-plus - v8.0.0-beta.6

    Function omit

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Omit<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Omit<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Omit<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    • Type Parameters

      • T extends AnyRecord
      • Props extends string | number | symbol

      Parameters

      • subject: T
      • Rest...props: Props[]

      Returns Omit<T, Props>

    +omit | type-plus - v8.0.0-beta.6

    Function omit

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Omit<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Omit<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Omit<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Omit<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    • Type Parameters

      • T extends AnyRecord
      • Props extends string | number | symbol

      Parameters

      • subject: T
      • Rest...props: Props[]

      Returns Omit<T, Props>

    diff --git a/functions/pick-2.html b/functions/pick-2.html index 68b6838e8..5d3b34653 100644 --- a/functions/pick-2.html +++ b/functions/pick-2.html @@ -1 +1 @@ -pick | type-plus - v8.0.0-beta.6

    Function pick

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Pick<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Pick<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Pick<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    • Type Parameters

      • T extends AnyRecord
      • Props extends string | number | symbol

      Parameters

      • subject: T
      • Rest...props: Props[]

      Returns Pick<T, Props>

    +pick | type-plus - v8.0.0-beta.6

    Function pick

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1

      Returns Pick<T, P1>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2

      Returns Pick<T, P1 | P2>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3

      Returns Pick<T, P1 | P2 | P3>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol

      Parameters

      • subject: T
      • prop1: P1
      • prop2: P2
      • prop3: P3
      • prop4: P4
      • prop5: P5

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11>

    • Type Parameters

      • T extends AnyRecord
      • P1 extends string | number | symbol
      • P2 extends string | number | symbol
      • P3 extends string | number | symbol
      • P4 extends string | number | symbol
      • P5 extends string | number | symbol
      • P6 extends string | number | symbol
      • P7 extends string | number | symbol
      • P8 extends string | number | symbol
      • P9 extends string | number | symbol
      • P10 extends string | number | symbol
      • P11 extends string | number | symbol
      • P12 extends string | number | symbol

      Parameters

      Returns Pick<T,
          | P1
          | P2
          | P3
          | P4
          | P5
          | P6
          | P7
          | P8
          | P9
          | P10
          | P11
          | P12>

    • Type Parameters

      • T extends AnyRecord
      • Props extends string | number | symbol

      Parameters

      • subject: T
      • Rest...props: Props[]

      Returns Pick<T, Props>

    diff --git a/functions/record.html b/functions/record.html index ecb2e8536..389428dcf 100644 --- a/functions/record.html +++ b/functions/record.html @@ -3,4 +3,4 @@ record() will widen the keys (K) you specified in the value to form Record<Widen<K>, V>.

    You can also override it by specifying a custom record, e.g.: record<{ a: number }>()

    -

    Type Parameters

    Parameters

    Returns Record<Widen<K>, V>

  • Type Parameters

    Parameters

    Returns R

  • +

    Type Parameters

    Parameters

    Returns Record<Widen<K>, V>

  • Type Parameters

    Parameters

    Returns R

  • diff --git a/functions/reduceByKey.html b/functions/reduceByKey.html index f4f881ba0..3ead46681 100644 --- a/functions/reduceByKey.html +++ b/functions/reduceByKey.html @@ -1 +1 @@ -reduceByKey | type-plus - v8.0.0-beta.6

    Function reduceByKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T

      Parameters

      • subject: S
      • callbackfn: ((previousValue: T, key: keyof S, currentIndex: number, array: string[], subject: S) => T)
          • (previousValue, key, currentIndex, array, subject): T
          • Parameters

            • previousValue: T
            • key: keyof S
            • currentIndex: number
            • array: string[]
            • subject: S

            Returns T

      • initialValue: T

      Returns T

    +reduceByKey | type-plus - v8.0.0-beta.6

    Function reduceByKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T

      Parameters

      • subject: S
      • callbackfn: ((previousValue: T, key: keyof S, currentIndex: number, array: string[], subject: S) => T)
          • (previousValue, key, currentIndex, array, subject): T
          • Parameters

            • previousValue: T
            • key: keyof S
            • currentIndex: number
            • array: string[]
            • subject: S

            Returns T

      • initialValue: T

      Returns T

    diff --git a/functions/reduceKey.html b/functions/reduceKey.html index 2788e4866..28b4d074e 100644 --- a/functions/reduceKey.html +++ b/functions/reduceKey.html @@ -1,2 +1,2 @@ reduceKey | type-plus - v8.0.0-beta.6

    Function reduceKey

    renamed to reduceByKey

    -
    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T

      Parameters

      • subject: S
      • callbackfn: ((previousValue: T, key: keyof S, currentIndex: number, array: string[], subject: S) => T)
          • (previousValue, key, currentIndex, array, subject): T
          • Parameters

            • previousValue: T
            • key: keyof S
            • currentIndex: number
            • array: string[]
            • subject: S

            Returns T

      • initialValue: T

      Returns T

    +
    diff --git a/functions/reduceWhile.html b/functions/reduceWhile.html index 0c1c814d6..f9675a11b 100644 --- a/functions/reduceWhile.html +++ b/functions/reduceWhile.html @@ -1,4 +1,4 @@ reduceWhile | type-plus - v8.0.0-beta.6

    Function reduceWhile

    • 🦴 utilities

      reduce() with predicate for early termination. A simple version of the same function in the ramda package.

      -

      Type Parameters

      • T
      • R

      Parameters

      • predicate: ((acc: R, currentValue: T) => boolean)
          • (acc, currentValue): boolean
          • Parameters

            • acc: R
            • currentValue: T

            Returns boolean

      • callbackfn: ((previousValue: R, currentValue: T, currentIndex: number, array: T[]) => R)
          • (previousValue, currentValue, currentIndex, array): R
          • Parameters

            • previousValue: R
            • currentValue: T
            • currentIndex: number
            • array: T[]

            Returns R

      • initialValue: R
      • array: T[]

      Returns R

    +

    Type Parameters

    Parameters

    Returns R

    diff --git a/functions/replaceProperty-1.html b/functions/replaceProperty-1.html index f9753f57e..7b0c8e8c3 100644 --- a/functions/replaceProperty-1.html +++ b/functions/replaceProperty-1.html @@ -1 +1 @@ -replaceProperty | type-plus - v8.0.0-beta.6

    Function replaceProperty

    +replaceProperty | type-plus - v8.0.0-beta.6

    Function replaceProperty

    diff --git a/functions/someKey.html b/functions/someKey.html index 6ddb45a08..90619e47c 100644 --- a/functions/someKey.html +++ b/functions/someKey.html @@ -1 +1 @@ -someKey | type-plus - v8.0.0-beta.6

    Function someKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, array: string[], subject: S) => unknown)
          • (this, key, index, array, subject): unknown
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • array: string[]
            • subject: S

            Returns unknown

      • OptionalthisArg: T

      Returns boolean

    +someKey | type-plus - v8.0.0-beta.6

    Function someKey

    • Type Parameters

      • S extends Record<string | number | symbol, any>
      • T = any

      Parameters

      • subject: S
      • predicate: ((this: T, key: keyof S, index: number, array: string[], subject: S) => unknown)
          • (this, key, index, array, subject): unknown
          • Parameters

            • this: T
            • key: keyof S
            • index: number
            • array: string[]
            • subject: S

            Returns unknown

      • OptionalthisArg: T

      Returns boolean

    diff --git a/functions/split-1.html b/functions/split-1.html index 24d811554..6ddc3d991 100644 --- a/functions/split-1.html +++ b/functions/split-1.html @@ -1,3 +1,3 @@ split | type-plus - v8.0.0-beta.6

    Function split

    +
  • Type Parameters

    Parameters

    Returns [Split<T, S1>, Split<T, S2>, Omit<T, keyof S1 | keyof S2>]

  • Type Parameters

    Parameters

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Omit<T, keyof S1 | keyof S2 | keyof S3>]

  • Type Parameters

    Parameters

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4>]

  • Type Parameters

    Parameters

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5>]

  • Type Parameters

    Parameters

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Split<T, S6>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5
        | keyof S6>]

  • Type Parameters

    Parameters

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Split<T, S6>, Split<T, S7>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5
        | keyof S6
        | keyof S7>]

  • Type Parameters

    Parameters

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Split<T, S6>, Split<T, S7>, Split<T, S8>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5
        | keyof S6
        | keyof S7
        | keyof S8>]

  • Type Parameters

    Parameters

    Returns [Split<T, S1>, Split<T, S2>, Split<T, S3>, Split<T, S4>, Split<T, S5>, Split<T, S6>, Split<T, S7>, Split<T, S8>, Split<T, S9>, Omit<T,
        | keyof S1
        | keyof S2
        | keyof S3
        | keyof S4
        | keyof S5
        | keyof S6
        | keyof S7
        | keyof S8
        | keyof S9>]

  • diff --git a/functions/stub.html b/functions/stub.html index 8ba75c708..b39fc268c 100644 --- a/functions/stub.html +++ b/functions/stub.html @@ -1,19 +1,19 @@ stub | type-plus - v8.0.0-beta.6

    Function stub

    Properties

    Type Parameters

    Parameters

    • stub: T

    Returns T

  • Type Parameters

    • T

    Parameters

    Returns T

  • Properties

    Properties

    build: (<T>(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)) => ((stub?: RecursivePartial<T>) => T))

    Type declaration

    builder: (<T>(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)) => {
        create(): ((stub?: RecursivePartial<T>) => T);
        with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)): { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; };
    })

    Type declaration

    builder: (<T>(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)) => {
        create(): ((stub?: RecursivePartial<T>) => T);
        with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)): { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; };
    })

    Type declaration

      • <T>(init): {
            create(): ((stub?: RecursivePartial<T>) => T);
            with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)): { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; };
        }
      • Create a builder for a stub function of type T.

        The builder contains two methods:

        .with(): adds additional handler or partial stub. .create(): creates the final stub function.

        Type Parameters

        • T

        Parameters

        Returns {
            create(): ((stub?: RecursivePartial<T>) => T);
            with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)): { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; };
        }

        • create:function
        • with:function
        • with:function
          • Adds an init object or handler to the builder.

            If init is an object, it will be merged with the stub object. If init is a function, it will be called with the stub object.

            Parameters

            Returns { with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): ...; create(): (stub?: RecursivePartial<...> | undefined) => T; }

            The builder instance.

            -
        const b = stub.builder<{ a: number; b: string }>({ a: 1 }).with({ b: 'b' }).create()
        b({ a: 2 }) // { a: 2, b: 'b' } +
    const b = stub.builder<{ a: number; b: string }>({ a: 1 }).with({ b: 'b' }).create()
    b({ a: 2 }) // { a: 2, b: 'b' }
    -
    +
    diff --git a/functions/transformMaybePromise.html b/functions/transformMaybePromise.html index 87d873648..f09e9ac9a 100644 --- a/functions/transformMaybePromise.html +++ b/functions/transformMaybePromise.html @@ -1,7 +1,7 @@ transformMaybePromise | type-plus - v8.0.0-beta.6

    Function transformMaybePromise

    • Transforms the value within the promise.

      Type Parameters

      • T
      • R

      Parameters

      • value: Promise<T>
      • transformer: ((value: T) => R)
          • (value): R
          • Parameters

            • value: T

            Returns R

      Returns Promise<R>

      a new promise with the transformed result.

      -
    • Transforms the value, or if the value is a promise, +

    • Transforms the value, or if the value is a promise, transform the resolved value of the promise.

      Type Parameters

      • T
      • R

      Parameters

      • value: T
      • transformer: ((value: T) => R)
          • (value): R
          • Parameters

            • value: T

            Returns R

      Returns T extends Promise<any>
          ? Promise<R>
          : R

      the transformed result, or if the value is a promise, a new promse with the transformed result.

      -
    +
    diff --git a/functions/typeOverrideIncompatible.html b/functions/typeOverrideIncompatible.html index 0d84366cc..99d729fa7 100644 --- a/functions/typeOverrideIncompatible.html +++ b/functions/typeOverrideIncompatible.html @@ -1 +1 @@ -typeOverrideIncompatible | type-plus - v8.0.0-beta.6

    Function typeOverrideIncompatible

    +typeOverrideIncompatible | type-plus - v8.0.0-beta.6

    Function typeOverrideIncompatible

    diff --git a/interfaces/ArrayPlus.CommonPropKeys.DefaultOptions.html b/interfaces/ArrayPlus.CommonPropKeys.DefaultOptions.html index 6e249c68d..97a2f2014 100644 --- a/interfaces/ArrayPlus.CommonPropKeys.DefaultOptions.html +++ b/interfaces/ArrayPlus.CommonPropKeys.DefaultOptions.html @@ -1,5 +1,5 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    +
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    diff --git a/interfaces/ArrayPlus.CommonPropKeys.Options.html b/interfaces/ArrayPlus.CommonPropKeys.Options.html index ace90c914..b99142575 100644 --- a/interfaces/ArrayPlus.CommonPropKeys.Options.html +++ b/interfaces/ArrayPlus.CommonPropKeys.Options.html @@ -4,5 +4,5 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    +
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    diff --git a/interfaces/ArrayPlus.ElementMatch.DefaultOptions.html b/interfaces/ArrayPlus.ElementMatch.DefaultOptions.html index d2d67567d..fa96f1c07 100644 --- a/interfaces/ArrayPlus.ElementMatch.DefaultOptions.html +++ b/interfaces/ArrayPlus.ElementMatch.DefaultOptions.html @@ -1,5 +1,5 @@ -DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    interface DefaultOptions<Criteria> {
        $notMatch: never;
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $notMatch +DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    interface DefaultOptions<Criteria> {
        $notMatch: never;
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $notMatch: never
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    +

    Properties

    $notMatch: never
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    diff --git a/interfaces/ArrayPlus.ElementMatch.Options.html b/interfaces/ArrayPlus.ElementMatch.Options.html index a968bcf46..4fa0e0f0e 100644 --- a/interfaces/ArrayPlus.ElementMatch.Options.html +++ b/interfaces/ArrayPlus.ElementMatch.Options.html @@ -1,5 +1,5 @@ -Options | type-plus - v8.0.0-beta.6
    interface Options {
        $notMatch?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $notMatch? +Options | type-plus - v8.0.0-beta.6
    interface Options {
        $notMatch?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $notMatch?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    +

    Properties

    $notMatch?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    diff --git a/interfaces/ArrayPlus.Filter.DefaultOptions.html b/interfaces/ArrayPlus.Filter.DefaultOptions.html index df28ec15f..196a4c765 100644 --- a/interfaces/ArrayPlus.Filter.DefaultOptions.html +++ b/interfaces/ArrayPlus.Filter.DefaultOptions.html @@ -1,3 +1,3 @@ -DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $never: never;
        $notArray: never[];
    }

    Properties

    $never +DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $never: never;
        $notArray: never[];
    }

    Properties

    Properties

    $never: never
    $notArray: never[]
    +

    Properties

    $never: never
    $notArray: never[]
    diff --git a/interfaces/ArrayPlus.Filter.Options.html b/interfaces/ArrayPlus.Filter.Options.html index f9cb63b40..4a311b0ac 100644 --- a/interfaces/ArrayPlus.Filter.Options.html +++ b/interfaces/ArrayPlus.Filter.Options.html @@ -4,6 +4,6 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
        $notArray?: unknown;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $never?: unknown;
        $notArray?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    $notArray?: unknown
    +

    Properties

    $never?: unknown
    $notArray?: unknown
    diff --git a/interfaces/ArrayPlus.Find.DefaultOptions.html b/interfaces/ArrayPlus.Find.DefaultOptions.html index 38b4991a9..deba2171d 100644 --- a/interfaces/ArrayPlus.Find.DefaultOptions.html +++ b/interfaces/ArrayPlus.Find.DefaultOptions.html @@ -1,10 +1,10 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions<Criteria> {
        $never: never;
        $notMatch: never;
        $tuple: "does not support tuple. Please use `FindFirst` or `TuplePlus.Find` instead.";
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    interface DefaultOptions<Criteria> {
        $never: never;
        $notMatch: never;
        $tuple: "does not support tuple. Please use `FindFirst` or `TuplePlus.Find` instead.";
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $never: never
    $notMatch: never
    $tuple
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    +

    Properties

    $never: never
    $notMatch: never
    $tuple
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    diff --git a/interfaces/ArrayPlus.Find.Options.html b/interfaces/ArrayPlus.Find.Options.html index 770a05275..df3cbb96d 100644 --- a/interfaces/ArrayPlus.Find.Options.html +++ b/interfaces/ArrayPlus.Find.Options.html @@ -4,10 +4,10 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
        $notMatch?: unknown;
        $tuple?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $never?: unknown;
        $notMatch?: unknown;
        $tuple?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $never?: unknown
    $notMatch?: unknown
    $tuple?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    +

    Properties

    $never?: unknown
    $notMatch?: unknown
    $tuple?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    diff --git a/interfaces/ArrayPlus.IsReadonly.DefaultOptions.html b/interfaces/ArrayPlus.IsReadonly.DefaultOptions.html index 227edf3e0..d7bc2c32d 100644 --- a/interfaces/ArrayPlus.IsReadonly.DefaultOptions.html +++ b/interfaces/ArrayPlus.IsReadonly.DefaultOptions.html @@ -1,5 +1,5 @@ -DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $else: false;
        $never: false;
        $notArray: false;
        $then: true;
    }

    Properties

    $else +DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $else: false;
        $never: false;
        $notArray: false;
        $then: true;
    }

    Properties

    $else
    $never
    $notArray
    $then
    +

    Properties

    $else
    $never
    $notArray
    $then
    diff --git a/interfaces/ArrayPlus.IsReadonly.Options.html b/interfaces/ArrayPlus.IsReadonly.Options.html index d353757c6..4ddf58a0d 100644 --- a/interfaces/ArrayPlus.IsReadonly.Options.html +++ b/interfaces/ArrayPlus.IsReadonly.Options.html @@ -4,14 +4,14 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $else?: unknown;
        $never?: unknown;
        $notArray?: unknown;
        $then?: unknown;
        selection?: "predicate" | "filter";
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $else?: unknown;
        $never?: unknown;
        $notArray?: unknown;
        $then?: unknown;
        selection?: "predicate" | "filter";
    }

    Hierarchy (view full)

    Properties

    $else?: unknown
    $never?: unknown
    $notArray?: unknown
    $then?: unknown
    selection?: "predicate" | "filter"

    Specifies which default selection logic to use.

    +

    Properties

    $else?: unknown
    $never?: unknown
    $notArray?: unknown
    $then?: unknown
    selection?: "predicate" | "filter"

    Specifies which default selection logic to use.

    filter returns T when the condition is met, and returns never otherwise.

    predicate returns boolean depends on the condition.

    Note that setting $then and $else overrides the default selection logic.

    -
    +
    diff --git a/interfaces/Box.DefaultOptions.html b/interfaces/Box.DefaultOptions.html index 7e5d9d8c4..b0cead0c8 100644 --- a/interfaces/Box.DefaultOptions.html +++ b/interfaces/Box.DefaultOptions.html @@ -1,2 +1,2 @@ -DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions

    interface DefaultOptions {
        $notBoxable: never;
    }

    Properties

    Properties

    $notBoxable: never
    +DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions

    interface DefaultOptions {
        $notBoxable: never;
    }

    Properties

    Properties

    $notBoxable: never
    diff --git a/interfaces/Branded.html b/interfaces/Branded.html index 55eb2466a..e10e2adec 100644 --- a/interfaces/Branded.html +++ b/interfaces/Branded.html @@ -1,4 +1,4 @@ Branded | type-plus - v8.0.0-beta.6

    Interface Branded<B, T>

    A branded type of B with value of T.

    -
    interface Branded<B, T> {
        [typeSym]: B;
        [valueSym]: T;
    }

    Type Parameters

    • B extends string
    • T

    Properties

    interface Branded<B, T> {
        [typeSym]: B;
        [valueSym]: T;
    }

    Type Parameters

    • B extends string
    • T

    Properties

    Properties

    [typeSym]: B
    [valueSym]: T
    +

    Properties

    [typeSym]: B
    [valueSym]: T
    diff --git a/interfaces/CommonPropKeys.DefaultOptions.html b/interfaces/CommonPropKeys.DefaultOptions.html index e2be2295b..497e9f700 100644 --- a/interfaces/CommonPropKeys.DefaultOptions.html +++ b/interfaces/CommonPropKeys.DefaultOptions.html @@ -1,5 +1,5 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    +
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    diff --git a/interfaces/CommonPropKeys.Options.html b/interfaces/CommonPropKeys.Options.html index 578be1c31..fdb52f52e 100644 --- a/interfaces/CommonPropKeys.Options.html +++ b/interfaces/CommonPropKeys.Options.html @@ -4,5 +4,5 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    +
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    diff --git a/interfaces/DropFirst.DefaultOptions.html b/interfaces/DropFirst.DefaultOptions.html index afb463ac2..ae45ab75d 100644 --- a/interfaces/DropFirst.DefaultOptions.html +++ b/interfaces/DropFirst.DefaultOptions.html @@ -1,3 +1,3 @@ -DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<T>

    interface DefaultOptions<T> {
        $array: T;
        caseEmptyTuple: [];
    }

    Type Parameters

    • T

    Properties

    $array +DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<T>

    interface DefaultOptions<T> {
        $array: T;
        caseEmptyTuple: [];
    }

    Type Parameters

    • T

    Properties

    $array: T
    caseEmptyTuple: []
    +

    Properties

    $array: T
    caseEmptyTuple: []
    diff --git a/interfaces/DropFirst.Options.html b/interfaces/DropFirst.Options.html index 9eb2d9167..fed7bb865 100644 --- a/interfaces/DropFirst.Options.html +++ b/interfaces/DropFirst.Options.html @@ -1,3 +1,3 @@ -Options | type-plus - v8.0.0-beta.6

    Interface Options

    interface Options {
        $array?: unknown;
        caseEmptyTuple?: unknown;
    }

    Properties

    $array? +Options | type-plus - v8.0.0-beta.6

    Interface Options

    interface Options {
        $array?: unknown;
        caseEmptyTuple?: unknown;
    }

    Properties

    $array?: unknown
    caseEmptyTuple?: unknown
    +

    Properties

    $array?: unknown
    caseEmptyTuple?: unknown
    diff --git a/interfaces/DropLast.DefaultOptions.html b/interfaces/DropLast.DefaultOptions.html index 69e13fb31..9902db3c0 100644 --- a/interfaces/DropLast.DefaultOptions.html +++ b/interfaces/DropLast.DefaultOptions.html @@ -1,3 +1,3 @@ -DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<T>

    interface DefaultOptions<T> {
        $array: T;
        caseEmptyTuple: [];
    }

    Type Parameters

    • T

    Properties

    $array +DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<T>

    interface DefaultOptions<T> {
        $array: T;
        caseEmptyTuple: [];
    }

    Type Parameters

    • T

    Properties

    $array: T
    caseEmptyTuple: []
    +

    Properties

    $array: T
    caseEmptyTuple: []
    diff --git a/interfaces/DropLast.Options.html b/interfaces/DropLast.Options.html index 030b087dd..17a0a53a1 100644 --- a/interfaces/DropLast.Options.html +++ b/interfaces/DropLast.Options.html @@ -1,3 +1,3 @@ -Options | type-plus - v8.0.0-beta.6

    Interface Options

    interface Options {
        $array?: unknown;
        caseEmptyTuple?: unknown;
    }

    Properties

    $array? +Options | type-plus - v8.0.0-beta.6

    Interface Options

    interface Options {
        $array?: unknown;
        caseEmptyTuple?: unknown;
    }

    Properties

    $array?: unknown
    caseEmptyTuple?: unknown
    +

    Properties

    $array?: unknown
    caseEmptyTuple?: unknown
    diff --git a/interfaces/Failed.html b/interfaces/Failed.html index 226097283..dd94c2828 100644 --- a/interfaces/Failed.html +++ b/interfaces/Failed.html @@ -6,5 +6,5 @@
    type T = Failed<'error message'>
     
    -
    interface Failed<Msg> {
        [uniSym]: Msg;
    }

    Type Parameters

    Properties

    Properties

    [uniSym]: Msg
    +
    interface Failed<Msg> {
        [uniSym]: Msg;
    }

    Type Parameters

    Properties

    Properties

    [uniSym]: Msg
    diff --git a/interfaces/FailedT.html b/interfaces/FailedT.html index dbea7ea4c..6c8472981 100644 --- a/interfaces/FailedT.html +++ b/interfaces/FailedT.html @@ -2,5 +2,5 @@

    Use this to add a generic type to the failed type.

    e.g. FailedT<'missing', number | string>

    It's recommended to create custom failed types instead of using this to provide better message.

    -
    interface FailedT<Msg, _T> {
        [uniSym]: Msg;
    }

    Type Parameters

    Properties

    Properties

    [uniSym]: Msg
    +
    interface FailedT<Msg, _T> {
        [uniSym]: Msg;
    }

    Type Parameters

    Properties

    Properties

    [uniSym]: Msg
    diff --git a/interfaces/FindFirst.DefaultOptions.html b/interfaces/FindFirst.DefaultOptions.html index 3e95df816..792fde05c 100644 --- a/interfaces/FindFirst.DefaultOptions.html +++ b/interfaces/FindFirst.DefaultOptions.html @@ -1,7 +1,7 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions<Criteria> {
        $array: "does not support array. Please use `FindFirst` or `ArrayPlus.Find` instead.";
        $emptyTuple: never;
        $never: never;
        $notMatch: never;
        $tuple: "does not support tuple. Please use `FindFirst` or `TuplePlus.Find` instead.";
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    interface DefaultOptions<Criteria> {
        $array: "does not support array. Please use `FindFirst` or `ArrayPlus.Find` instead.";
        $emptyTuple: never;
        $never: never;
        $notMatch: never;
        $tuple: "does not support tuple. Please use `FindFirst` or `TuplePlus.Find` instead.";
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $array
    $emptyTuple: never
    $never: never
    $notMatch: never
    $tuple
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    +

    Properties

    $array
    $emptyTuple: never
    $never: never
    $notMatch: never
    $tuple
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    diff --git a/interfaces/FindFirst.Options.html b/interfaces/FindFirst.Options.html index 702169ac8..8be1c5b72 100644 --- a/interfaces/FindFirst.Options.html +++ b/interfaces/FindFirst.Options.html @@ -4,7 +4,7 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $array?: unknown;
        $emptyTuple?: unknown;
        $never?: unknown;
        $notMatch?: unknown;
        $tuple?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $array?: unknown;
        $emptyTuple?: unknown;
        $never?: unknown;
        $notMatch?: unknown;
        $tuple?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $array?: unknown
    $emptyTuple?: unknown
    $never?: unknown
    $notMatch?: unknown
    $tuple?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    +

    Properties

    $array?: unknown
    $emptyTuple?: unknown
    $never?: unknown
    $notMatch?: unknown
    $tuple?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    diff --git a/interfaces/Flavored.html b/interfaces/Flavored.html index 7751b91a2..754fd1679 100644 --- a/interfaces/Flavored.html +++ b/interfaces/Flavored.html @@ -1,3 +1,3 @@ Flavored | type-plus - v8.0.0-beta.6

    Interface Flavored<F>

    A flavored type of F

    -
    interface Flavored<F> {
        [typeSym]?: F;
    }

    Type Parameters

    • F extends string

    Properties

    Properties

    [typeSym]?: F
    +
    interface Flavored<F> {
        [typeSym]?: F;
    }

    Type Parameters

    Properties

    Properties

    [typeSym]?: F
    diff --git a/interfaces/FlavoredUnit.html b/interfaces/FlavoredUnit.html index f2e7fd394..d66bc18c7 100644 --- a/interfaces/FlavoredUnit.html +++ b/interfaces/FlavoredUnit.html @@ -1,4 +1,4 @@ FlavoredUnit | type-plus - v8.0.0-beta.6

    Interface FlavoredUnit<F, T>

    A special flavored type for special types.

    -
    interface FlavoredUnit<F, T> {
        [typeSym]?: F;
        [valueSym]: T;
    }

    Type Parameters

    • F extends string
    • T

    Properties

    interface FlavoredUnit<F, T> {
        [typeSym]?: F;
        [valueSym]: T;
    }

    Type Parameters

    • F extends string
    • T

    Properties

    [typeSym]?: F
    [valueSym]: T
    +

    Properties

    [typeSym]?: F
    [valueSym]: T
    diff --git a/interfaces/Head.DefaultOptions.html b/interfaces/Head.DefaultOptions.html index c7f057a61..98556bb82 100644 --- a/interfaces/Head.DefaultOptions.html +++ b/interfaces/Head.DefaultOptions.html @@ -1,6 +1,6 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
        caseEmptyTuple: never;
    }

    Hierarchy (view full)

    Properties

    interface DefaultOptions {
        $never: never;
        caseEmptyTuple: never;
    }

    Hierarchy (view full)

    Properties

    $never: never
    caseEmptyTuple: never
    +

    Properties

    $never: never
    caseEmptyTuple: never
    diff --git a/interfaces/Head.Options.html b/interfaces/Head.Options.html index 33577d0f1..b44ad4ba9 100644 --- a/interfaces/Head.Options.html +++ b/interfaces/Head.Options.html @@ -4,6 +4,6 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
        caseEmptyTuple?: unknown;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $never?: unknown;
        caseEmptyTuple?: unknown;
    }

    Hierarchy (view full)

    Properties

    $never?: unknown
    caseEmptyTuple?: unknown
    +

    Properties

    $never?: unknown
    caseEmptyTuple?: unknown
    diff --git a/interfaces/Last.DefaultOptions.html b/interfaces/Last.DefaultOptions.html index bf411bd75..33f03317d 100644 --- a/interfaces/Last.DefaultOptions.html +++ b/interfaces/Last.DefaultOptions.html @@ -1,6 +1,6 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
        caseEmptyTuple: never;
    }

    Hierarchy (view full)

    Properties

    interface DefaultOptions {
        $never: never;
        caseEmptyTuple: never;
    }

    Hierarchy (view full)

    Properties

    $never: never
    caseEmptyTuple: never
    +

    Properties

    $never: never
    caseEmptyTuple: never
    diff --git a/interfaces/Last.Options.html b/interfaces/Last.Options.html index 0ac2a8d52..12dfa7b0d 100644 --- a/interfaces/Last.Options.html +++ b/interfaces/Last.Options.html @@ -4,6 +4,6 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
        caseEmptyTuple?: unknown;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $never?: unknown;
        caseEmptyTuple?: unknown;
    }

    Hierarchy (view full)

    Properties

    $never?: unknown
    caseEmptyTuple?: unknown
    +

    Properties

    $never?: unknown
    caseEmptyTuple?: unknown
    diff --git a/interfaces/ObjectPlus.Merge.DefaultOptions.html b/interfaces/ObjectPlus.Merge.DefaultOptions.html index 14d2a05cd..5fdbb51dc 100644 --- a/interfaces/ObjectPlus.Merge.DefaultOptions.html +++ b/interfaces/ObjectPlus.Merge.DefaultOptions.html @@ -1,2 +1,2 @@ -DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $never: never;
    }

    Properties

    Properties

    $never: never
    +DefaultOptions | type-plus - v8.0.0-beta.6
    interface DefaultOptions {
        $never: never;
    }

    Properties

    Properties

    $never: never
    diff --git a/interfaces/TuplePlus.CommonPropKeys.DefaultOptions.html b/interfaces/TuplePlus.CommonPropKeys.DefaultOptions.html index a1f7b0d67..332095553 100644 --- a/interfaces/TuplePlus.CommonPropKeys.DefaultOptions.html +++ b/interfaces/TuplePlus.CommonPropKeys.DefaultOptions.html @@ -1,5 +1,5 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    +
    interface DefaultOptions {
        $never: never;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never: never
    diff --git a/interfaces/TuplePlus.CommonPropKeys.Options.html b/interfaces/TuplePlus.CommonPropKeys.Options.html index 5ae74aa04..7c1f37006 100644 --- a/interfaces/TuplePlus.CommonPropKeys.Options.html +++ b/interfaces/TuplePlus.CommonPropKeys.Options.html @@ -4,5 +4,5 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    +
    interface Options {
        $never?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $never?: unknown
    diff --git a/interfaces/TuplePlus.Find.DefaultOptions.html b/interfaces/TuplePlus.Find.DefaultOptions.html index 9ef537df9..ad7ee10cb 100644 --- a/interfaces/TuplePlus.Find.DefaultOptions.html +++ b/interfaces/TuplePlus.Find.DefaultOptions.html @@ -1,11 +1,11 @@ DefaultOptions | type-plus - v8.0.0-beta.6

    Interface DefaultOptions<Criteria>

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    interface DefaultOptions<Criteria> {
        $array: "does not support array. Please use `FindFirst` or `ArrayPlus.Find` instead.";
        $emptyTuple: never;
        $never: never;
        $notMatch: never;
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    interface DefaultOptions<Criteria> {
        $array: "does not support array. Please use `FindFirst` or `ArrayPlus.Find` instead.";
        $emptyTuple: never;
        $never: never;
        $notMatch: never;
        $unionNotMatch: never;
        $widen: undefined | Criteria;
        widen: true;
    }

    Type Parameters

    • Criteria

    Hierarchy (view full)

    Properties

    $array
    $emptyTuple: never
    $never: never
    $notMatch: never
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    +

    Properties

    $array
    $emptyTuple: never
    $never: never
    $notMatch: never
    $unionNotMatch: never
    $widen: undefined | Criteria
    widen
    diff --git a/interfaces/TuplePlus.Find.Options.html b/interfaces/TuplePlus.Find.Options.html index fa01bef7d..50b94ebe3 100644 --- a/interfaces/TuplePlus.Find.Options.html +++ b/interfaces/TuplePlus.Find.Options.html @@ -4,11 +4,11 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    interface Options {
        $array?: unknown;
        $emptyTuple?: unknown;
        $never?: unknown;
        $notMatch?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    interface Options {
        $array?: unknown;
        $emptyTuple?: unknown;
        $never?: unknown;
        $notMatch?: unknown;
        $unionNotMatch?: unknown;
        $widen?: unknown;
        widen?: boolean;
    }

    Hierarchy (view full)

    Properties

    $array?: unknown
    $emptyTuple?: unknown
    $never?: unknown
    $notMatch?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    +

    Properties

    $array?: unknown
    $emptyTuple?: unknown
    $never?: unknown
    $notMatch?: unknown
    $unionNotMatch?: unknown
    $widen?: unknown
    widen?: boolean
    diff --git a/interfaces/TypePlusOptions.NotArray.html b/interfaces/TypePlusOptions.NotArray.html index 971dbfbf4..c67a12cc9 100644 --- a/interfaces/TypePlusOptions.NotArray.html +++ b/interfaces/TypePlusOptions.NotArray.html @@ -1,2 +1,2 @@ -NotArray | type-plus - v8.0.0-beta.6
    interface NotArray {
        $notArray?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $notArray?: unknown
    +NotArray | type-plus - v8.0.0-beta.6
    interface NotArray {
        $notArray?: unknown;
    }

    Hierarchy (view full)

    Properties

    Properties

    $notArray?: unknown
    diff --git a/interfaces/_Type.html b/interfaces/_Type.html index 174323478..a4a3316ed 100644 --- a/interfaces/_Type.html +++ b/interfaces/_Type.html @@ -1,6 +1,6 @@ $Type | type-plus - v8.0.0-beta.6

    Interface $Type<T, M, V>

    🧰 type util

    Special type-plus interface to represent unique types with messages.

    -
    interface $Type<T, M, V> {
        message: M;
        type: T;
        value: V;
    }

    Type Parameters

    • T extends string
    • M extends string = ""
    • V = unknown

    Properties

    interface $Type<T, M, V> {
        message: M;
        type: T;
        value: V;
    }

    Type Parameters

    • T extends string
    • M extends string = ""
    • V = unknown

    Properties

    Properties

    message: M
    type: T
    value: V
    +

    Properties

    message: M
    type: T
    value: V
    diff --git a/interfaces/testType.TestType.html b/interfaces/testType.TestType.html index d0bf52d3e..239269e2a 100644 --- a/interfaces/testType.TestType.html +++ b/interfaces/testType.TestType.html @@ -1,4 +1,4 @@ -TestType | type-plus - v8.0.0-beta.6

    Interface TestType

    interface TestType {
        any<T>(expected: IsAny<T>): T;
        array<T>(expected: IsArray<T, {
            exact: true;
        }>): T;
        bigint<T>(expected: IsBigint<T, {
            distributive: false;
        }>): T;
        boolean<T>(expected: IsBoolean<T, {
            distributive: false;
        }>): T;
        canAssign<A, B>(expected: Assignable<A, B>): A;
        equal<A, B, C>(expected: IsEqual<A, B> & IsEqual<A, C>): A;
        equal<A, B>(expected: IsEqual<A, B>): A;
        false<T>(expected: IsFalse<T, {
            distributive: false;
        }>): T;
        function<T>(expected: IsFunction<T, {
            distributive: false;
        }>): T;
        inspect<T>(handler: ((t: InspectedType<T>) => unknown)): T;
        never<T>(expected: IsNever<T>): T;
        null<T>(expected: IsNull<T, {
            distributive: false;
        }>): T;
        number<T>(expected: IsNumber<T, {
            distributive: false;
        }>): T;
        object<T>(expected: IsObject<T, {
            distributive: false;
        }>): T;
        strictBigint<T>(expected: IsBigint<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictBoolean<T>(expected: IsBoolean<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictCanAssign<A, B>(expected: Assignable<A, B, {
            distributive: false;
        }>): A;
        strictFunction<T>(expected: IsStrictFunction<T, {
            distributive: false;
        }>): T;
        strictNumber<T>(expected: IsNumber<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictString<T>(expected: IsString<T, {
            distributive: false;
            exact: true;
        }>): T;
        string<T>(expected: IsString<T, {
            distributive: false;
        }>): T;
        symbol<T>(expected: IsSymbol<T, {
            distributive: false;
        }>): T;
        true<T>(expected: IsTrue<T, {
            distributive: false;
        }>): T;
        tuple<T>(expected: IsTuple<T, {
            distributive: false;
        }>): T;
        undefined<T>(expected: IsUndefined<T, {
            distributive: false;
        }>): T;
        unknown<T>(expected: IsUnknown<T>): T;
        void<T>(expected: IsVoid<T, {
            distributive: false;
        }>): T;
    }

    Methods

    any +TestType | type-plus - v8.0.0-beta.6

    Interface TestType

    interface TestType {
        any<T>(expected: IsAny<T>): T;
        array<T>(expected: IsArray<T, {
            exact: true;
        }>): T;
        bigint<T>(expected: IsBigint<T, {
            distributive: false;
        }>): T;
        boolean<T>(expected: IsBoolean<T, {
            distributive: false;
        }>): T;
        canAssign<A, B>(expected: Assignable<A, B>): A;
        equal<A, B, C>(expected: IsEqual<A, B> & IsEqual<A, C>): A;
        equal<A, B>(expected: IsEqual<A, B>): A;
        false<T>(expected: IsFalse<T, {
            distributive: false;
        }>): T;
        function<T>(expected: IsFunction<T, {
            distributive: false;
        }>): T;
        inspect<T>(handler: ((t: InspectedType<T>) => unknown)): T;
        never<T>(expected: IsNever<T>): T;
        null<T>(expected: IsNull<T, {
            distributive: false;
        }>): T;
        number<T>(expected: IsNumber<T, {
            distributive: false;
        }>): T;
        object<T>(expected: IsObject<T, {
            distributive: false;
        }>): T;
        strictBigint<T>(expected: IsBigint<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictBoolean<T>(expected: IsBoolean<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictCanAssign<A, B>(expected: Assignable<A, B, {
            distributive: false;
        }>): A;
        strictFunction<T>(expected: IsStrictFunction<T, {
            distributive: false;
        }>): T;
        strictNumber<T>(expected: IsNumber<T, {
            distributive: false;
            exact: true;
        }>): T;
        strictString<T>(expected: IsString<T, {
            distributive: false;
            exact: true;
        }>): T;
        string<T>(expected: IsString<T, {
            distributive: false;
        }>): T;
        symbol<T>(expected: IsSymbol<T, {
            distributive: false;
        }>): T;
        true<T>(expected: IsTrue<T, {
            distributive: false;
        }>): T;
        tuple<T>(expected: IsTuple<T, {
            distributive: false;
        }>): T;
        undefined<T>(expected: IsUndefined<T, {
            distributive: false;
        }>): T;
        unknown<T>(expected: IsUnknown<T>): T;
        void<T>(expected: IsVoid<T, {
            distributive: false;
        }>): T;
    }

    Methods

    any array bigint boolean @@ -26,13 +26,13 @@ void

    Methods

    • Check if A can assign to B.

      If A is a union, the check is distributive.

      Meaning the result can be boolean, @@ -43,15 +43,15 @@

      testType.canAssign<123, number> // true

      testType.canAssign<number | string, number> // boolean
      -
    • Check if type A is equal to type B and C.

      +
    • A quick way to inspect a type.

      The handler receives a InspectedType object. It contains value which is typed to T, and many other properties to inspect the behavior of T.

      @@ -63,43 +63,43 @@

      After trying out the type, remove the line.

      -
    • Check if type T is exactly never.

      +
    • Check if A can fully assign to B.

      This checks all branches in an union A are assignable to B.

      Type Parameters

      • A
      • B

      Parameters

      • expected: Assignable<A, B, {
            distributive: false;
        }>

      Returns A

      expected as A for type inspection.

      testType.strictCanAssign<number | string, number | string> // true

      testType.strictCanAssign<number | string, number> // false
      -
    • Check if type T is exactly boolean.

      +
    +
    diff --git a/modules/ArrayPlus.CommonPropKeys.html b/modules/ArrayPlus.CommonPropKeys.html index d9c05bb86..4c8a7cc27 100644 --- a/modules/ArrayPlus.CommonPropKeys.html +++ b/modules/ArrayPlus.CommonPropKeys.html @@ -1,3 +1,3 @@ -CommonPropKeys | type-plus - v8.0.0-beta.6

    Namespace CommonPropKeys

    Index

    Interfaces

    DefaultOptions +CommonPropKeys | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.ElementMatch.html b/modules/ArrayPlus.ElementMatch.html index d890eff5e..d34caaec1 100644 --- a/modules/ArrayPlus.ElementMatch.html +++ b/modules/ArrayPlus.ElementMatch.html @@ -1,3 +1,3 @@ -ElementMatch | type-plus - v8.0.0-beta.6

    Namespace ElementMatch

    Index

    Interfaces

    DefaultOptions +ElementMatch | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.Entries.html b/modules/ArrayPlus.Entries.html index d916dbc30..8e2547f4e 100644 --- a/modules/ArrayPlus.Entries.html +++ b/modules/ArrayPlus.Entries.html @@ -1,2 +1,2 @@ -Entries | type-plus - v8.0.0-beta.6

    Namespace Entries

    Index

    Type Aliases

    Device +Entries | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.Filter.html b/modules/ArrayPlus.Filter.html index 6ecfe5380..5b74258d4 100644 --- a/modules/ArrayPlus.Filter.html +++ b/modules/ArrayPlus.Filter.html @@ -1,4 +1,4 @@ -Filter | type-plus - v8.0.0-beta.6

    Namespace Filter

    Index

    Interfaces

    DefaultOptions +Filter | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.Find.html b/modules/ArrayPlus.Find.html index f7afae4ca..4f1652204 100644 --- a/modules/ArrayPlus.Find.html +++ b/modules/ArrayPlus.Find.html @@ -1,3 +1,3 @@ -Find | type-plus - v8.0.0-beta.6

    Index

    Interfaces

    DefaultOptions +Find | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.IndexAt.html b/modules/ArrayPlus.IndexAt.html index 670a7477d..c23cfe320 100644 --- a/modules/ArrayPlus.IndexAt.html +++ b/modules/ArrayPlus.IndexAt.html @@ -1,2 +1,2 @@ -IndexAt | type-plus - v8.0.0-beta.6

    Namespace IndexAt

    Index

    Type Aliases

    _ +IndexAt | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.IsReadonly.html b/modules/ArrayPlus.IsReadonly.html index 7750d086d..20e500dea 100644 --- a/modules/ArrayPlus.IsReadonly.html +++ b/modules/ArrayPlus.IsReadonly.html @@ -1,3 +1,3 @@ -IsReadonly | type-plus - v8.0.0-beta.6

    Namespace IsReadonly

    Index

    Interfaces

    DefaultOptions +IsReadonly | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.Reverse.html b/modules/ArrayPlus.Reverse.html index 293fdccc3..6e0eff01f 100644 --- a/modules/ArrayPlus.Reverse.html +++ b/modules/ArrayPlus.Reverse.html @@ -1,2 +1,2 @@ -Reverse | type-plus - v8.0.0-beta.6

    Namespace Reverse

    Index

    Type Aliases

    _ +Reverse | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.SplitAt.html b/modules/ArrayPlus.SplitAt.html index b31b0dba1..f300ade1b 100644 --- a/modules/ArrayPlus.SplitAt.html +++ b/modules/ArrayPlus.SplitAt.html @@ -1,3 +1,3 @@ -SplitAt | type-plus - v8.0.0-beta.6

    Namespace SplitAt

    Index

    Type Aliases

    _ +SplitAt | type-plus - v8.0.0-beta.6
    diff --git a/modules/ArrayPlus.html b/modules/ArrayPlus.html index 79de1e7a3..2b3b1bf02 100644 --- a/modules/ArrayPlus.html +++ b/modules/ArrayPlus.html @@ -1,4 +1,4 @@ -ArrayPlus | type-plus - v8.0.0-beta.6

    Namespace ArrayPlus

    References

    At +ArrayPlus | type-plus - v8.0.0-beta.6

    Namespace ArrayPlus

    References

    At Concat FindLast Some diff --git a/modules/Assignable.html b/modules/Assignable.html index 6b0a9358b..c377b6183 100644 --- a/modules/Assignable.html +++ b/modules/Assignable.html @@ -1,4 +1,4 @@ -Assignable | type-plus - v8.0.0-beta.6

    Namespace Assignable

    Index

    Type Aliases

    $ +Assignable | type-plus - v8.0.0-beta.6

    Namespace Assignable

    Index

    Type Aliases

    $ $Branch $Default $Options diff --git a/modules/Box.html b/modules/Box.html index cce69ce1b..e3f4d7e67 100644 --- a/modules/Box.html +++ b/modules/Box.html @@ -1,3 +1,3 @@ -Box | type-plus - v8.0.0-beta.6

    Namespace Box

    Index

    Interfaces

    DefaultOptions +Box | type-plus - v8.0.0-beta.6
    diff --git a/modules/CommonPropKeys.html b/modules/CommonPropKeys.html index c114bc1cc..2662977b7 100644 --- a/modules/CommonPropKeys.html +++ b/modules/CommonPropKeys.html @@ -1,3 +1,3 @@ -CommonPropKeys | type-plus - v8.0.0-beta.6

    Namespace CommonPropKeys

    Index

    Interfaces

    DefaultOptions +CommonPropKeys | type-plus - v8.0.0-beta.6
    diff --git a/modules/DropFirst.html b/modules/DropFirst.html index 82cf5808f..4cbb32832 100644 --- a/modules/DropFirst.html +++ b/modules/DropFirst.html @@ -1,3 +1,3 @@ -DropFirst | type-plus - v8.0.0-beta.6

    Namespace DropFirst

    Index

    Interfaces

    DefaultOptions +DropFirst | type-plus - v8.0.0-beta.6
    diff --git a/modules/DropLast.html b/modules/DropLast.html index 7bb23568c..3d1b52fb0 100644 --- a/modules/DropLast.html +++ b/modules/DropLast.html @@ -1,3 +1,3 @@ -DropLast | type-plus - v8.0.0-beta.6

    Namespace DropLast

    Index

    Interfaces

    DefaultOptions +DropLast | type-plus - v8.0.0-beta.6
    diff --git a/modules/FindFirst.html b/modules/FindFirst.html index 4d175c3ef..53954fc6b 100644 --- a/modules/FindFirst.html +++ b/modules/FindFirst.html @@ -1,3 +1,3 @@ -FindFirst | type-plus - v8.0.0-beta.6

    Namespace FindFirst

    Index

    Interfaces

    DefaultOptions +FindFirst | type-plus - v8.0.0-beta.6
    diff --git a/modules/Head.html b/modules/Head.html index 04ff59348..b5526ccd4 100644 --- a/modules/Head.html +++ b/modules/Head.html @@ -1,3 +1,3 @@ -Head | type-plus - v8.0.0-beta.6

    Namespace Head

    Index

    Interfaces

    DefaultOptions +Head | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsAny.html b/modules/IsAny.html index 6c1054981..55422735a 100644 --- a/modules/IsAny.html +++ b/modules/IsAny.html @@ -1,3 +1,3 @@ -IsAny | type-plus - v8.0.0-beta.6

    Namespace IsAny

    Index

    Type Aliases

    $Branch +IsAny | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsArray.html b/modules/IsArray.html index 6eabea1b8..66840b9dc 100644 --- a/modules/IsArray.html +++ b/modules/IsArray.html @@ -1,4 +1,4 @@ -IsArray | type-plus - v8.0.0-beta.6

    Namespace IsArray

    Index

    Type Aliases

    $ +IsArray | type-plus - v8.0.0-beta.6

    Namespace IsArray

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsBigint.html b/modules/IsBigint.html index eb6a29ebb..3a1f58f47 100644 --- a/modules/IsBigint.html +++ b/modules/IsBigint.html @@ -1,4 +1,4 @@ -IsBigint | type-plus - v8.0.0-beta.6

    Namespace IsBigint

    Index

    Type Aliases

    _SD +IsBigint | type-plus - v8.0.0-beta.6

    Namespace IsBigint

    Index

    Type Aliases

    _SD _SN $ $Branch diff --git a/modules/IsBigintLiteral.html b/modules/IsBigintLiteral.html index 68f5645bd..93205e1ce 100644 --- a/modules/IsBigintLiteral.html +++ b/modules/IsBigintLiteral.html @@ -1,4 +1,4 @@ -IsBigintLiteral | type-plus - v8.0.0-beta.6

    Namespace IsBigintLiteral

    Index

    Type Aliases

    _D +IsBigintLiteral | type-plus - v8.0.0-beta.6

    Namespace IsBigintLiteral

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsBoolean.html b/modules/IsBoolean.html index 07b3d1845..705627952 100644 --- a/modules/IsBoolean.html +++ b/modules/IsBoolean.html @@ -1,4 +1,4 @@ -IsBoolean | type-plus - v8.0.0-beta.6

    Namespace IsBoolean

    Index

    Type Aliases

    _DistributeMap +IsBoolean | type-plus - v8.0.0-beta.6

    Namespace IsBoolean

    Index

    Type Aliases

    _DistributeMap _N _SD $ diff --git a/modules/IsFalse.html b/modules/IsFalse.html index b48543142..a5c872ff3 100644 --- a/modules/IsFalse.html +++ b/modules/IsFalse.html @@ -1,4 +1,4 @@ -IsFalse | type-plus - v8.0.0-beta.6

    Namespace IsFalse

    Index

    Type Aliases

    $ +IsFalse | type-plus - v8.0.0-beta.6

    Namespace IsFalse

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsFunction.html b/modules/IsFunction.html index 3087925dc..76f6812c4 100644 --- a/modules/IsFunction.html +++ b/modules/IsFunction.html @@ -1,4 +1,4 @@ -IsFunction | type-plus - v8.0.0-beta.6

    Namespace IsFunction

    Index

    Type Aliases

    $Branch +IsFunction | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNever.html b/modules/IsNever.html index 2f28b9458..c67537397 100644 --- a/modules/IsNever.html +++ b/modules/IsNever.html @@ -1,4 +1,4 @@ -IsNever | type-plus - v8.0.0-beta.6

    Namespace IsNever

    Index

    Type Aliases

    _O +IsNever | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotAny.html b/modules/IsNotAny.html index 8332be162..2b81268f6 100644 --- a/modules/IsNotAny.html +++ b/modules/IsNotAny.html @@ -1,3 +1,3 @@ -IsNotAny | type-plus - v8.0.0-beta.6

    Namespace IsNotAny

    Index

    Type Aliases

    $Branch +IsNotAny | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotArray.html b/modules/IsNotArray.html index a5db2ed33..1559d8346 100644 --- a/modules/IsNotArray.html +++ b/modules/IsNotArray.html @@ -1,4 +1,4 @@ -IsNotArray | type-plus - v8.0.0-beta.6

    Namespace IsNotArray

    Index

    Type Aliases

    $ +IsNotArray | type-plus - v8.0.0-beta.6

    Namespace IsNotArray

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotBigint.html b/modules/IsNotBigint.html index dc8114e64..4977df382 100644 --- a/modules/IsNotBigint.html +++ b/modules/IsNotBigint.html @@ -1,4 +1,4 @@ -IsNotBigint | type-plus - v8.0.0-beta.6

    Namespace IsNotBigint

    Index

    Type Aliases

    _SD +IsNotBigint | type-plus - v8.0.0-beta.6

    Namespace IsNotBigint

    Index

    Type Aliases

    _SD _SN $ $Branch diff --git a/modules/IsNotBigintLiteral.html b/modules/IsNotBigintLiteral.html index f9e251a7e..20d6cd897 100644 --- a/modules/IsNotBigintLiteral.html +++ b/modules/IsNotBigintLiteral.html @@ -1,4 +1,4 @@ -IsNotBigintLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotBigintLiteral

    Index

    Type Aliases

    _D +IsNotBigintLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotBigintLiteral

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotBoolean.html b/modules/IsNotBoolean.html index 7ff73534a..930a07db1 100644 --- a/modules/IsNotBoolean.html +++ b/modules/IsNotBoolean.html @@ -1,4 +1,4 @@ -IsNotBoolean | type-plus - v8.0.0-beta.6

    Namespace IsNotBoolean

    Index

    Type Aliases

    _D +IsNotBoolean | type-plus - v8.0.0-beta.6

    Namespace IsNotBoolean

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotFalse.html b/modules/IsNotFalse.html index 976eefff6..4b0a82b9c 100644 --- a/modules/IsNotFalse.html +++ b/modules/IsNotFalse.html @@ -1,4 +1,4 @@ -IsNotFalse | type-plus - v8.0.0-beta.6

    Namespace IsNotFalse

    Index

    Type Aliases

    $ +IsNotFalse | type-plus - v8.0.0-beta.6

    Namespace IsNotFalse

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotFunction.html b/modules/IsNotFunction.html index 19885ee7c..4ac51d173 100644 --- a/modules/IsNotFunction.html +++ b/modules/IsNotFunction.html @@ -1,4 +1,4 @@ -IsNotFunction | type-plus - v8.0.0-beta.6

    Namespace IsNotFunction

    Index

    Type Aliases

    $Branch +IsNotFunction | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotNever.html b/modules/IsNotNever.html index 6c4b703c0..aeee9812f 100644 --- a/modules/IsNotNever.html +++ b/modules/IsNotNever.html @@ -1,4 +1,4 @@ -IsNotNever | type-plus - v8.0.0-beta.6

    Namespace IsNotNever

    Index

    Type Aliases

    _O +IsNotNever | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotNull.html b/modules/IsNotNull.html index ef46f71c0..2ca717c87 100644 --- a/modules/IsNotNull.html +++ b/modules/IsNotNull.html @@ -1,4 +1,4 @@ -IsNotNull | type-plus - v8.0.0-beta.6

    Namespace IsNotNull

    Index

    Type Aliases

    $ +IsNotNull | type-plus - v8.0.0-beta.6

    Namespace IsNotNull

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotNumberLiteral.html b/modules/IsNotNumberLiteral.html index c46fb9475..e95218f4e 100644 --- a/modules/IsNotNumberLiteral.html +++ b/modules/IsNotNumberLiteral.html @@ -1,4 +1,4 @@ -IsNotNumberLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotNumberLiteral

    Index

    Type Aliases

    _D +IsNotNumberLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotNumberLiteral

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotObject.html b/modules/IsNotObject.html index 2723409f7..f2a72147e 100644 --- a/modules/IsNotObject.html +++ b/modules/IsNotObject.html @@ -1,4 +1,4 @@ -IsNotObject | type-plus - v8.0.0-beta.6

    Namespace IsNotObject

    Index

    Type Aliases

    _D +IsNotObject | type-plus - v8.0.0-beta.6

    Namespace IsNotObject

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotStrictFunction.html b/modules/IsNotStrictFunction.html index e2226eed5..5b8e4a662 100644 --- a/modules/IsNotStrictFunction.html +++ b/modules/IsNotStrictFunction.html @@ -1,4 +1,4 @@ -IsNotStrictFunction | type-plus - v8.0.0-beta.6

    Namespace IsNotStrictFunction

    Index

    Type Aliases

    _D +IsNotStrictFunction | type-plus - v8.0.0-beta.6

    Namespace IsNotStrictFunction

    Index

    Type Aliases

    _D $Branch $Default $Options diff --git a/modules/IsNotString.html b/modules/IsNotString.html index 2c8bfd69e..b33ee0c39 100644 --- a/modules/IsNotString.html +++ b/modules/IsNotString.html @@ -1,4 +1,4 @@ -IsNotString | type-plus - v8.0.0-beta.6

    Namespace IsNotString

    Index

    Type Aliases

    _D +IsNotString | type-plus - v8.0.0-beta.6

    Namespace IsNotString

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsNotStringLiteral.html b/modules/IsNotStringLiteral.html index 1de254864..ac8dd1d5d 100644 --- a/modules/IsNotStringLiteral.html +++ b/modules/IsNotStringLiteral.html @@ -1,4 +1,4 @@ -IsNotStringLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotStringLiteral

    Index

    Type Aliases

    _D +IsNotStringLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotStringLiteral

    Index

    Type Aliases

    _D _E _ED _EN diff --git a/modules/IsNotSymbol.html b/modules/IsNotSymbol.html index a6ac1cc60..71ddfaca9 100644 --- a/modules/IsNotSymbol.html +++ b/modules/IsNotSymbol.html @@ -1,4 +1,4 @@ -IsNotSymbol | type-plus - v8.0.0-beta.6

    Namespace IsNotSymbol

    Index

    Type Aliases

    $ +IsNotSymbol | type-plus - v8.0.0-beta.6

    Namespace IsNotSymbol

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotTemplateLiteral.html b/modules/IsNotTemplateLiteral.html index 1cf5d8976..3bb790c3b 100644 --- a/modules/IsNotTemplateLiteral.html +++ b/modules/IsNotTemplateLiteral.html @@ -1,4 +1,4 @@ -IsNotTemplateLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotTemplateLiteral

    Index

    Type Aliases

    $ +IsNotTemplateLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNotTemplateLiteral

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotTrue.html b/modules/IsNotTrue.html index 35d896c19..7a77a9d0e 100644 --- a/modules/IsNotTrue.html +++ b/modules/IsNotTrue.html @@ -1,4 +1,4 @@ -IsNotTrue | type-plus - v8.0.0-beta.6

    Namespace IsNotTrue

    Index

    Type Aliases

    $ +IsNotTrue | type-plus - v8.0.0-beta.6

    Namespace IsNotTrue

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotTuple.html b/modules/IsNotTuple.html index 79cacfa6d..74d05d42b 100644 --- a/modules/IsNotTuple.html +++ b/modules/IsNotTuple.html @@ -1,4 +1,4 @@ -IsNotTuple | type-plus - v8.0.0-beta.6

    Namespace IsNotTuple

    Index

    Type Aliases

    $ +IsNotTuple | type-plus - v8.0.0-beta.6

    Namespace IsNotTuple

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotUndefined.html b/modules/IsNotUndefined.html index 5150309a0..22a283fa1 100644 --- a/modules/IsNotUndefined.html +++ b/modules/IsNotUndefined.html @@ -1,4 +1,4 @@ -IsNotUndefined | type-plus - v8.0.0-beta.6

    Namespace IsNotUndefined

    Index

    Type Aliases

    $ +IsNotUndefined | type-plus - v8.0.0-beta.6

    Namespace IsNotUndefined

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNotUnknown.html b/modules/IsNotUnknown.html index e24062a4f..d1361e3d9 100644 --- a/modules/IsNotUnknown.html +++ b/modules/IsNotUnknown.html @@ -1,3 +1,3 @@ -IsNotUnknown | type-plus - v8.0.0-beta.6

    Namespace IsNotUnknown

    Index

    Type Aliases

    $Branch +IsNotUnknown | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsNotVoid.html b/modules/IsNotVoid.html index ef1bace95..2de4db2d1 100644 --- a/modules/IsNotVoid.html +++ b/modules/IsNotVoid.html @@ -1,4 +1,4 @@ -IsNotVoid | type-plus - v8.0.0-beta.6

    Namespace IsNotVoid

    Index

    Type Aliases

    $ +IsNotVoid | type-plus - v8.0.0-beta.6

    Namespace IsNotVoid

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNull.html b/modules/IsNull.html index e756a1f4d..cd30d51a7 100644 --- a/modules/IsNull.html +++ b/modules/IsNull.html @@ -1,4 +1,4 @@ -IsNull | type-plus - v8.0.0-beta.6

    Namespace IsNull

    Index

    Type Aliases

    $ +IsNull | type-plus - v8.0.0-beta.6

    Namespace IsNull

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsNumberLiteral.html b/modules/IsNumberLiteral.html index 604ceea19..db54445db 100644 --- a/modules/IsNumberLiteral.html +++ b/modules/IsNumberLiteral.html @@ -1,4 +1,4 @@ -IsNumberLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNumberLiteral

    Index

    Type Aliases

    _D +IsNumberLiteral | type-plus - v8.0.0-beta.6

    Namespace IsNumberLiteral

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsObject.html b/modules/IsObject.html index b2fec7420..a96814bb0 100644 --- a/modules/IsObject.html +++ b/modules/IsObject.html @@ -1,4 +1,4 @@ -IsObject | type-plus - v8.0.0-beta.6

    Namespace IsObject

    Index

    Type Aliases

    _D +IsObject | type-plus - v8.0.0-beta.6

    Namespace IsObject

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsStrictFunction.html b/modules/IsStrictFunction.html index 95953fcf4..42a0b8595 100644 --- a/modules/IsStrictFunction.html +++ b/modules/IsStrictFunction.html @@ -1,4 +1,4 @@ -IsStrictFunction | type-plus - v8.0.0-beta.6

    Namespace IsStrictFunction

    Index

    Type Aliases

    _D +IsStrictFunction | type-plus - v8.0.0-beta.6

    Namespace IsStrictFunction

    Index

    Type Aliases

    _D $Branch $Default $Options diff --git a/modules/IsString.html b/modules/IsString.html index d76399131..81600731b 100644 --- a/modules/IsString.html +++ b/modules/IsString.html @@ -1,4 +1,4 @@ -IsString | type-plus - v8.0.0-beta.6

    Namespace IsString

    Index

    Type Aliases

    _D +IsString | type-plus - v8.0.0-beta.6

    Namespace IsString

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/IsStringLiteral.html b/modules/IsStringLiteral.html index 01a3a76a6..0e94dc3f5 100644 --- a/modules/IsStringLiteral.html +++ b/modules/IsStringLiteral.html @@ -1,4 +1,4 @@ -IsStringLiteral | type-plus - v8.0.0-beta.6

    Namespace IsStringLiteral

    Index

    Type Aliases

    _D +IsStringLiteral | type-plus - v8.0.0-beta.6

    Namespace IsStringLiteral

    Index

    Type Aliases

    _D _E _ED _EN diff --git a/modules/IsSymbol.html b/modules/IsSymbol.html index 212a34d01..adb61e733 100644 --- a/modules/IsSymbol.html +++ b/modules/IsSymbol.html @@ -1,4 +1,4 @@ -IsSymbol | type-plus - v8.0.0-beta.6

    Namespace IsSymbol

    Index

    Type Aliases

    $ +IsSymbol | type-plus - v8.0.0-beta.6

    Namespace IsSymbol

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsTemplateLiteral.html b/modules/IsTemplateLiteral.html index 52b4db3c8..73ff1afa4 100644 --- a/modules/IsTemplateLiteral.html +++ b/modules/IsTemplateLiteral.html @@ -1,4 +1,4 @@ -IsTemplateLiteral | type-plus - v8.0.0-beta.6

    Namespace IsTemplateLiteral

    Index

    Type Aliases

    $ +IsTemplateLiteral | type-plus - v8.0.0-beta.6

    Namespace IsTemplateLiteral

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsTrue.html b/modules/IsTrue.html index a767af2b0..319396592 100644 --- a/modules/IsTrue.html +++ b/modules/IsTrue.html @@ -1,4 +1,4 @@ -IsTrue | type-plus - v8.0.0-beta.6

    Namespace IsTrue

    Index

    Type Aliases

    $ +IsTrue | type-plus - v8.0.0-beta.6

    Namespace IsTrue

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsTuple.html b/modules/IsTuple.html index 164c59288..af5e405aa 100644 --- a/modules/IsTuple.html +++ b/modules/IsTuple.html @@ -1,4 +1,4 @@ -IsTuple | type-plus - v8.0.0-beta.6

    Namespace IsTuple

    Index

    Type Aliases

    $ +IsTuple | type-plus - v8.0.0-beta.6

    Namespace IsTuple

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsUndefined.html b/modules/IsUndefined.html index 74a153129..e2a74e1a3 100644 --- a/modules/IsUndefined.html +++ b/modules/IsUndefined.html @@ -1,4 +1,4 @@ -IsUndefined | type-plus - v8.0.0-beta.6

    Namespace IsUndefined

    Index

    Type Aliases

    $ +IsUndefined | type-plus - v8.0.0-beta.6

    Namespace IsUndefined

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/IsUnknown.html b/modules/IsUnknown.html index 23474185d..8b4335b57 100644 --- a/modules/IsUnknown.html +++ b/modules/IsUnknown.html @@ -1,3 +1,3 @@ -IsUnknown | type-plus - v8.0.0-beta.6

    Namespace IsUnknown

    Index

    Type Aliases

    $Branch +IsUnknown | type-plus - v8.0.0-beta.6
    diff --git a/modules/IsVoid.html b/modules/IsVoid.html index 149cb7e9b..1a390a2ec 100644 --- a/modules/IsVoid.html +++ b/modules/IsVoid.html @@ -1,4 +1,4 @@ -IsVoid | type-plus - v8.0.0-beta.6

    Namespace IsVoid

    Index

    Type Aliases

    $ +IsVoid | type-plus - v8.0.0-beta.6

    Namespace IsVoid

    Index

    Type Aliases

    $ $Branch $Options $UtilOptions diff --git a/modules/Last.html b/modules/Last.html index 58f56e392..8775beeb1 100644 --- a/modules/Last.html +++ b/modules/Last.html @@ -1,3 +1,3 @@ -Last | type-plus - v8.0.0-beta.6

    Namespace Last

    Index

    Interfaces

    DefaultOptions +Last | type-plus - v8.0.0-beta.6
    diff --git a/modules/MathPlus.html b/modules/MathPlus.html index ebd425d22..b16374e70 100644 --- a/modules/MathPlus.html +++ b/modules/MathPlus.html @@ -1,4 +1,4 @@ -MathPlus | type-plus - v8.0.0-beta.6

    Namespace MathPlus

    References

    Add +MathPlus | type-plus - v8.0.0-beta.6

    Namespace MathPlus

    References

    Add Decrement Increment Multiply diff --git a/modules/NotAssignable.html b/modules/NotAssignable.html index de523522b..425a0b5a4 100644 --- a/modules/NotAssignable.html +++ b/modules/NotAssignable.html @@ -1,4 +1,4 @@ -NotAssignable | type-plus - v8.0.0-beta.6

    Namespace NotAssignable

    Index

    Type Aliases

    $ +NotAssignable | type-plus - v8.0.0-beta.6

    Namespace NotAssignable

    Index

    Type Aliases

    $ $Branch $Default $Options diff --git a/modules/NumberPlus.IsInteger.html b/modules/NumberPlus.IsInteger.html index 8f2ae0394..04c9d78db 100644 --- a/modules/NumberPlus.IsInteger.html +++ b/modules/NumberPlus.IsInteger.html @@ -1,3 +1,3 @@ -IsInteger | type-plus - v8.0.0-beta.6

    Namespace IsInteger

    Index

    Type Aliases

    $Branch +IsInteger | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNegative.html b/modules/NumberPlus.IsNegative.html index 88435b096..3b623fa24 100644 --- a/modules/NumberPlus.IsNegative.html +++ b/modules/NumberPlus.IsNegative.html @@ -1,4 +1,4 @@ -IsNegative | type-plus - v8.0.0-beta.6

    Namespace IsNegative

    Index

    Type Aliases

    _Negative +IsNegative | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNotInteger.html b/modules/NumberPlus.IsNotInteger.html index b8dadd849..12580e9b4 100644 --- a/modules/NumberPlus.IsNotInteger.html +++ b/modules/NumberPlus.IsNotInteger.html @@ -1,3 +1,3 @@ -IsNotInteger | type-plus - v8.0.0-beta.6

    Namespace IsNotInteger

    Index

    Type Aliases

    $Branch +IsNotInteger | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNotNegative.html b/modules/NumberPlus.IsNotNegative.html index 71a614e69..c8765de88 100644 --- a/modules/NumberPlus.IsNotNegative.html +++ b/modules/NumberPlus.IsNotNegative.html @@ -1,4 +1,4 @@ -IsNotNegative | type-plus - v8.0.0-beta.6

    Namespace IsNotNegative

    Index

    Type Aliases

    _Negative +IsNotNegative | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNotNumber.html b/modules/NumberPlus.IsNotNumber.html index e7959cfac..b54441674 100644 --- a/modules/NumberPlus.IsNotNumber.html +++ b/modules/NumberPlus.IsNotNumber.html @@ -1,4 +1,4 @@ -IsNotNumber | type-plus - v8.0.0-beta.6

    Namespace IsNotNumber

    Index

    Type Aliases

    _D +IsNotNumber | type-plus - v8.0.0-beta.6

    Namespace IsNotNumber

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/NumberPlus.IsNotNumeric.html b/modules/NumberPlus.IsNotNumeric.html index b323c26ab..6d3c540da 100644 --- a/modules/NumberPlus.IsNotNumeric.html +++ b/modules/NumberPlus.IsNotNumeric.html @@ -1,4 +1,4 @@ -IsNotNumeric | type-plus - v8.0.0-beta.6

    Namespace IsNotNumeric

    Index

    Type Aliases

    $Branch +IsNotNumeric | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNotPositive.html b/modules/NumberPlus.IsNotPositive.html index 67fb9371e..ce06426a8 100644 --- a/modules/NumberPlus.IsNotPositive.html +++ b/modules/NumberPlus.IsNotPositive.html @@ -1,4 +1,4 @@ -IsNotPositive | type-plus - v8.0.0-beta.6

    Namespace IsNotPositive

    Index

    Type Aliases

    _Negative +IsNotPositive | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsNumber.html b/modules/NumberPlus.IsNumber.html index 6cc0bdb99..2bd0850cc 100644 --- a/modules/NumberPlus.IsNumber.html +++ b/modules/NumberPlus.IsNumber.html @@ -1,4 +1,4 @@ -IsNumber | type-plus - v8.0.0-beta.6

    Namespace IsNumber

    Index

    Type Aliases

    _D +IsNumber | type-plus - v8.0.0-beta.6

    Namespace IsNumber

    Index

    Type Aliases

    _D _N $ $Branch diff --git a/modules/NumberPlus.IsNumeric.html b/modules/NumberPlus.IsNumeric.html index bf5f84aa3..f922d450a 100644 --- a/modules/NumberPlus.IsNumeric.html +++ b/modules/NumberPlus.IsNumeric.html @@ -1,4 +1,4 @@ -IsNumeric | type-plus - v8.0.0-beta.6

    Namespace IsNumeric

    Index

    Type Aliases

    $Branch +IsNumeric | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.IsPositive.html b/modules/NumberPlus.IsPositive.html index f81f99aa7..90b2559c2 100644 --- a/modules/NumberPlus.IsPositive.html +++ b/modules/NumberPlus.IsPositive.html @@ -1,4 +1,4 @@ -IsPositive | type-plus - v8.0.0-beta.6

    Namespace IsPositive

    Index

    Type Aliases

    _Positive +IsPositive | type-plus - v8.0.0-beta.6
    diff --git a/modules/NumberPlus.html b/modules/NumberPlus.html index 62fd5fdd4..c7499ca91 100644 --- a/modules/NumberPlus.html +++ b/modules/NumberPlus.html @@ -1,4 +1,4 @@ -NumberPlus | type-plus - v8.0.0-beta.6

    Namespace NumberPlus

    Index

    Namespaces

    IsInteger +NumberPlus | type-plus - v8.0.0-beta.6

    Namespace NumberPlus

    Index

    Namespaces

    IsInteger IsNegative IsNotInteger IsNotNegative diff --git a/modules/NumericPlus.html b/modules/NumericPlus.html index 61cc2fbe6..e4cdb9b71 100644 --- a/modules/NumericPlus.html +++ b/modules/NumericPlus.html @@ -1,4 +1,4 @@ -NumericPlus | type-plus - v8.0.0-beta.6

    Namespace NumericPlus

    References

    IsInteger +NumericPlus | type-plus - v8.0.0-beta.6

    Namespace NumericPlus

    References

    IsInteger IsNegative IsNotInteger IsNotNegative diff --git a/modules/ObjectPlus.Merge.html b/modules/ObjectPlus.Merge.html index 3c41c8e5a..32ff01c77 100644 --- a/modules/ObjectPlus.Merge.html +++ b/modules/ObjectPlus.Merge.html @@ -1,4 +1,4 @@ -Merge | type-plus - v8.0.0-beta.6

    Index

    Interfaces

    DefaultOptions +Merge | type-plus - v8.0.0-beta.6

    Index

    Interfaces

    Type Aliases

    Cases JoinProps Options diff --git a/modules/ObjectPlus.html b/modules/ObjectPlus.html index 389ac6966..00cf4e344 100644 --- a/modules/ObjectPlus.html +++ b/modules/ObjectPlus.html @@ -1,3 +1,3 @@ -ObjectPlus | type-plus - v8.0.0-beta.6

    Namespace ObjectPlus

    Index

    Namespaces

    Merge +ObjectPlus | type-plus - v8.0.0-beta.6

    Namespace ObjectPlus

    Index

    Namespaces

    Type Aliases

    diff --git a/modules/Pick.html b/modules/Pick.html index e2d69a364..a52ca5243 100644 --- a/modules/Pick.html +++ b/modules/Pick.html @@ -1,2 +1,2 @@ -Pick | type-plus - v8.0.0-beta.6

    Namespace Pick

    Index

    Type Aliases

    _ +Pick | type-plus - v8.0.0-beta.6
    diff --git a/modules/RequiredKeys.html b/modules/RequiredKeys.html index 5c3c2b3ff..433367c81 100644 --- a/modules/RequiredKeys.html +++ b/modules/RequiredKeys.html @@ -1,2 +1,2 @@ -RequiredKeys | type-plus - v8.0.0-beta.6

    Namespace RequiredKeys

    Index

    Type Aliases

    _ +RequiredKeys | type-plus - v8.0.0-beta.6
    diff --git a/modules/Some.html b/modules/Some.html index eb5824073..81af1f6a4 100644 --- a/modules/Some.html +++ b/modules/Some.html @@ -1,4 +1,4 @@ -Some | type-plus - v8.0.0-beta.6

    Namespace Some

    Index

    Type Aliases

    Loose +Some | type-plus - v8.0.0-beta.6

    Namespace Some

    Index

    Type Aliases

    Loose LooseArray LooseTuple Strict diff --git a/modules/StringPlus.html b/modules/StringPlus.html index 9e8d22ba3..c60defea3 100644 --- a/modules/StringPlus.html +++ b/modules/StringPlus.html @@ -1,3 +1,3 @@ -StringPlus | type-plus - v8.0.0-beta.6

    Namespace StringPlus

    Index

    Type Aliases

    Includes +StringPlus | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.CommonPropKeys.html b/modules/TuplePlus.CommonPropKeys.html index b05172f91..120f179e6 100644 --- a/modules/TuplePlus.CommonPropKeys.html +++ b/modules/TuplePlus.CommonPropKeys.html @@ -1,3 +1,3 @@ -CommonPropKeys | type-plus - v8.0.0-beta.6

    Namespace CommonPropKeys

    Index

    Interfaces

    DefaultOptions +CommonPropKeys | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.DropMatch.html b/modules/TuplePlus.DropMatch.html index dd5153941..6cadf704d 100644 --- a/modules/TuplePlus.DropMatch.html +++ b/modules/TuplePlus.DropMatch.html @@ -1,2 +1,2 @@ -DropMatch | type-plus - v8.0.0-beta.6

    Namespace DropMatch

    Index

    Type Aliases

    ExcludeUnionOfEmptyTuple +DropMatch | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.Find.html b/modules/TuplePlus.Find.html index f05eb84fc..e55031302 100644 --- a/modules/TuplePlus.Find.html +++ b/modules/TuplePlus.Find.html @@ -1,4 +1,4 @@ -Find | type-plus - v8.0.0-beta.6

    Index

    Interfaces

    DefaultOptions +Find | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.PadStart.html b/modules/TuplePlus.PadStart.html index 99997c532..e1c520e19 100644 --- a/modules/TuplePlus.PadStart.html +++ b/modules/TuplePlus.PadStart.html @@ -1,2 +1,2 @@ -PadStart | type-plus - v8.0.0-beta.6

    Namespace PadStart

    Index

    Type Aliases

    Device +PadStart | type-plus - v8.0.0-beta.6
    diff --git a/modules/TuplePlus.html b/modules/TuplePlus.html index 042a49b47..cd6f4d666 100644 --- a/modules/TuplePlus.html +++ b/modules/TuplePlus.html @@ -1,4 +1,4 @@ -TuplePlus | type-plus - v8.0.0-beta.6

    Namespace TuplePlus

    Index

    Namespaces

    CommonPropKeys +TuplePlus | type-plus - v8.0.0-beta.6

    Namespace TuplePlus

    Index

    Namespaces

    CommonPropKeys DropMatch Find PadStart diff --git a/modules/TypePlusOptions.html b/modules/TypePlusOptions.html index c81a0aa5c..4bc54b51b 100644 --- a/modules/TypePlusOptions.html +++ b/modules/TypePlusOptions.html @@ -1,3 +1,3 @@ -TypePlusOptions | type-plus - v8.0.0-beta.6

    Namespace TypePlusOptions

    Index

    Interfaces

    NotArray +TypePlusOptions | type-plus - v8.0.0-beta.6

    Namespace TypePlusOptions

    Index

    Interfaces

    Type Aliases

    diff --git a/modules/UnionType.html b/modules/UnionType.html index 3b882c255..cb293aa85 100644 --- a/modules/UnionType.html +++ b/modules/UnionType.html @@ -1,2 +1,2 @@ -UnionType | type-plus - v8.0.0-beta.6

    Namespace UnionType

    Index

    Type Aliases

    Device +UnionType | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Any.html b/modules/_Any.html index 8418e5115..92ca0fcae 100644 --- a/modules/_Any.html +++ b/modules/_Any.html @@ -1,3 +1,3 @@ -$Any | type-plus - v8.0.0-beta.6

    Namespace $Any

    Index

    Type Aliases

    $Branch +$Any | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Else.html b/modules/_Else.html index 342fb398b..4bf4119ea 100644 --- a/modules/_Else.html +++ b/modules/_Else.html @@ -1,2 +1,2 @@ -$Else | type-plus - v8.0.0-beta.6

    Namespace $Else

    Index

    Type Aliases

    $Branch +$Else | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Equality.html b/modules/_Equality.html index 26b10123b..06d6fb084 100644 --- a/modules/_Equality.html +++ b/modules/_Equality.html @@ -1,3 +1,3 @@ -$Equality | type-plus - v8.0.0-beta.6

    Namespace $Equality

    Index

    Type Aliases

    $Branch +$Equality | type-plus - v8.0.0-beta.6
    diff --git a/modules/_ExtractManipulatedString.html b/modules/_ExtractManipulatedString.html index a23ac3e28..e8fb8c47c 100644 --- a/modules/_ExtractManipulatedString.html +++ b/modules/_ExtractManipulatedString.html @@ -1,4 +1,4 @@ -$ExtractManipulatedString | type-plus - v8.0.0-beta.6

    Namespace $ExtractManipulatedString

    Index

    Type Aliases

    _CapOrElse +$ExtractManipulatedString | type-plus - v8.0.0-beta.6

    Namespace $ExtractManipulatedString

    Index

    Type Aliases

    _CapOrElse _LowerOrElse _UncapOrElse _UpperOrElse diff --git a/modules/_Never.html b/modules/_Never.html index 95afde8f7..316f265e7 100644 --- a/modules/_Never.html +++ b/modules/_Never.html @@ -1,4 +1,4 @@ -$Never | type-plus - v8.0.0-beta.6

    Namespace $Never

    Index

    Type Aliases

    $Branch +$Never | type-plus - v8.0.0-beta.6
    diff --git a/modules/_ResolveBranch.html b/modules/_ResolveBranch.html index 008e35629..fb596a05e 100644 --- a/modules/_ResolveBranch.html +++ b/modules/_ResolveBranch.html @@ -1,4 +1,4 @@ -$ResolveBranch | type-plus - v8.0.0-beta.6

    Namespace $ResolveBranch

    Index

    Type Aliases

    _ +$ResolveBranch | type-plus - v8.0.0-beta.6

    Namespace $ResolveBranch

    Index

    Type Aliases

    _ _Last _OLast _Override diff --git a/modules/_Select.html b/modules/_Select.html index 84b83a7cb..a9caedcaa 100644 --- a/modules/_Select.html +++ b/modules/_Select.html @@ -1,4 +1,4 @@ -$Select | type-plus - v8.0.0-beta.6

    Namespace $Select

    Index

    Type Aliases

    _ +$Select | type-plus - v8.0.0-beta.6

    Namespace $Select

    Index

    Type Aliases

    _ _D _N $Branch diff --git a/modules/_SpecialType.html b/modules/_SpecialType.html index 16bc71dc3..578887ce5 100644 --- a/modules/_SpecialType.html +++ b/modules/_SpecialType.html @@ -1,3 +1,3 @@ -$SpecialType | type-plus - v8.0.0-beta.6

    Namespace $SpecialType

    Index

    Type Aliases

    $Branch +$SpecialType | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Then.html b/modules/_Then.html index 8b5423b08..e555172f0 100644 --- a/modules/_Then.html +++ b/modules/_Then.html @@ -1,2 +1,2 @@ -$Then | type-plus - v8.0.0-beta.6

    Namespace $Then

    Index

    Type Aliases

    $Branch +$Then | type-plus - v8.0.0-beta.6
    diff --git a/modules/_Unknown.html b/modules/_Unknown.html index 32cc9a492..2e95e05da 100644 --- a/modules/_Unknown.html +++ b/modules/_Unknown.html @@ -1,3 +1,3 @@ -$Unknown | type-plus - v8.0.0-beta.6

    Namespace $Unknown

    Index

    Type Aliases

    $Branch +$Unknown | type-plus - v8.0.0-beta.6
    diff --git a/modules/testType.html b/modules/testType.html index ce1a17240..f0aa89898 100644 --- a/modules/testType.html +++ b/modules/testType.html @@ -2,6 +2,6 @@

    This is designed specifically for testing. The return value is the input expected parameter asserted as the first type parameter, so that the type can be further inspected.

    -

    Index

    Interfaces

    Index

    Interfaces

    Type Aliases

    diff --git a/types/ANotB.html b/types/ANotB.html index 7ae05026f..19bec6118 100644 --- a/types/ANotB.html +++ b/types/ANotB.html @@ -1 +1 @@ -ANotB | type-plus - v8.0.0-beta.6

    Type Alias ANotB<A, B>

    ANotB<A, B>: IsEqual<A, B> extends true
        ? never
        : IsDisjoint<A, B> extends true
            ? A
            : {
                [k in Exclude<keyof A, keyof B> | KeysWithDiffType<A, B>]: A[k]
            }

    Type Parameters

    +ANotB | type-plus - v8.0.0-beta.6

    Type Alias ANotB<A, B>

    ANotB<A, B>: IsEqual<A, B> extends true
        ? never
        : IsDisjoint<A, B> extends true
            ? A
            : {
                [k in Exclude<keyof A, keyof B> | KeysWithDiffType<A, B>]: A[k]
            }

    Type Parameters

    diff --git a/types/Abs.html b/types/Abs.html index e2346323f..c277addbe 100644 --- a/types/Abs.html +++ b/types/Abs.html @@ -1 +1 @@ -Abs | type-plus - v8.0.0-beta.6

    Type Alias Abs<N, Fail>

    Abs<N, Fail>: IsNumber<N, NumberPlus.IsNumber.$Branch> extends infer R
        ? R extends $Then
            ? [number] extends [N]
                ? Fail
                : `${N}` extends `-${infer P extends number}`
                    ? P
                    : N
            : R extends $Else
                ? IsBigint<N> extends infer R
                    ? R extends true
                        ? [bigint] extends [N]
                            ? Fail
                            : `${N}` extends `-${infer P extends bigint}`
                                ? P
                                : N
                        : Fail
                    : never
                : never
        : never

    Type Parameters

    • N extends number | bigint
    • Fail = never
    +Abs | type-plus - v8.0.0-beta.6

    Type Alias Abs<N, Fail>

    Abs<N, Fail>: IsNumber<N, NumberPlus.IsNumber.$Branch> extends infer R
        ? R extends $Then
            ? [number] extends [N]
                ? Fail
                : `${N}` extends `-${infer P extends number}`
                    ? P
                    : N
            : R extends $Else
                ? IsBigint<N> extends infer R
                    ? R extends true
                        ? [bigint] extends [N]
                            ? Fail
                            : `${N}` extends `-${infer P extends bigint}`
                                ? P
                                : N
                        : Fail
                    : never
                : never
        : never

    Type Parameters

    • N extends number | bigint
    • Fail = never
    diff --git a/types/Add.html b/types/Add.html index 08a36d74b..3b86721f7 100644 --- a/types/Add.html +++ b/types/Add.html @@ -1 +1 @@ -Add | type-plus - v8.0.0-beta.6

    Type Alias Add<A, B, Fail>

    Add<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Add<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +Add | type-plus - v8.0.0-beta.6

    Type Alias Add<A, B, Fail>

    Add<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Add<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/AdjustExactOptionalProps.html b/types/AdjustExactOptionalProps.html index 5e949a690..cbb86971b 100644 --- a/types/AdjustExactOptionalProps.html +++ b/types/AdjustExactOptionalProps.html @@ -1,4 +1,4 @@ AdjustExactOptionalProps | type-plus - v8.0.0-beta.6

    Type Alias AdjustExactOptionalProps<T>

    AdjustExactOptionalProps<T>: T extends object
        ? {
            [K in OptionalKeys<T>]?: T[K]
        } & {
            [K in RequiredKeys<T>]: T[K]
        }
        : never

    ⚗️ transform

    Adjust T to work with compiler flag exactOptionalPropertyTypes.

    It adds undefined to optional properties.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/And.html b/types/And.html index 15f057dc5..5b778799e 100644 --- a/types/And.html +++ b/types/And.html @@ -1 +1 @@ -And | type-plus - v8.0.0-beta.6

    Type Alias And<A, B, Then, Else>

    And<A, B, Then, Else>: A extends true
        ? B extends true
            ? Then
            : Else
        : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    +And | type-plus - v8.0.0-beta.6

    Type Alias And<A, B, Then, Else>

    And<A, B, Then, Else>: A extends true
        ? B extends true
            ? Then
            : Else
        : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    diff --git a/types/AnyConstructor.html b/types/AnyConstructor.html index ddc2826f1..cdcfedd41 100644 --- a/types/AnyConstructor.html +++ b/types/AnyConstructor.html @@ -1 +1 @@ -AnyConstructor | type-plus - v8.0.0-beta.6

    Type Alias AnyConstructor<Params>

    AnyConstructor<Params>: (new (..._args: Params) => void)

    Type Parameters

    • Params extends any[] = any[]
    +AnyConstructor | type-plus - v8.0.0-beta.6

    Type Alias AnyConstructor<Params>

    AnyConstructor<Params>: (new (..._args: Params) => void)

    Type Parameters

    • Params extends any[] = any[]
    diff --git a/types/AnyFunction.html b/types/AnyFunction.html index d651357f1..bbaf7505d 100644 --- a/types/AnyFunction.html +++ b/types/AnyFunction.html @@ -1 +1 @@ -AnyFunction | type-plus - v8.0.0-beta.6

    Type Alias AnyFunction<Params, Result>

    AnyFunction<Params, Result>: ((...args: Params) => Result)

    Type Parameters

    • Params extends any[] = any[]
    • Result = any
    +AnyFunction | type-plus - v8.0.0-beta.6

    Type Alias AnyFunction<Params, Result>

    AnyFunction<Params, Result>: ((...args: Params) => Result)

    Type Parameters

    • Params extends any[] = any[]
    • Result = any
    diff --git a/types/AnyRecord.html b/types/AnyRecord.html index b9d4ef804..46112f6a5 100644 --- a/types/AnyRecord.html +++ b/types/AnyRecord.html @@ -1 +1 @@ -AnyRecord | type-plus - v8.0.0-beta.6

    Type Alias AnyRecord

    AnyRecord: Record<KeyTypes, any>
    +AnyRecord | type-plus - v8.0.0-beta.6

    Type Alias AnyRecord

    AnyRecord: Record<KeyTypes, any>
    diff --git a/types/ArrayPlus.CommonPropKeys-1.html b/types/ArrayPlus.CommonPropKeys-1.html index 00210c3a6..9c9062395 100644 --- a/types/ArrayPlus.CommonPropKeys-1.html +++ b/types/ArrayPlus.CommonPropKeys-1.html @@ -6,4 +6,4 @@

    Return type when T is never. Default to never.

    -
    +
    diff --git a/types/ArrayPlus.DropMatch.html b/types/ArrayPlus.DropMatch.html index 5aa563e23..512df956c 100644 --- a/types/ArrayPlus.DropMatch.html +++ b/types/ArrayPlus.DropMatch.html @@ -1,2 +1,2 @@ DropMatch | type-plus - v8.0.0-beta.6

    Type Alias DropMatch<A, Criteria>

    DropMatch<A, Criteria>: A[0] extends Criteria
        ? never[]
        : undefined extends Criteria
            ? null extends Criteria
                ? NonNullable<A[0]>[]
                : Exclude<A[0], undefined>[]
            : null extends Criteria
                ? Exclude<A[0], null>[]
                : Criteria extends A[0]
                    ? Exclude<A[0], Criteria>[]
                    : A[0] extends Criteria
                        ? A
                        : Exclude<A[0], Criteria>[]

    ⚗️ transform

    -

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    +

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    diff --git a/types/ArrayPlus.ElementMatch-1.html b/types/ArrayPlus.ElementMatch-1.html index c1338b823..5ee741e7c 100644 --- a/types/ArrayPlus.ElementMatch-1.html +++ b/types/ArrayPlus.ElementMatch-1.html @@ -14,4 +14,4 @@ you can override it to return undefined.

    Since it is a union, the result will be joined to the matched branch as union. e.g. ElementMatch<1 | 2, 1> -> 1 | undefined

    -
    +
    diff --git a/types/ArrayPlus.Entries-1.html b/types/ArrayPlus.Entries-1.html index fafe5df03..722c2db79 100644 --- a/types/ArrayPlus.Entries-1.html +++ b/types/ArrayPlus.Entries-1.html @@ -4,4 +4,4 @@

    Type Parameters

    • A extends readonly unknown[]
    ArrayPlus.Entries<Array<string | number>> // Array<[number, string | number]>
    ArrayPlus.Entries<[1, 2, 3]> // [[0, 1], [1, 2], [2, 3]]
    -
    +
    diff --git a/types/ArrayPlus.Entries.Device.html b/types/ArrayPlus.Entries.Device.html index 88975972d..0e18739f5 100644 --- a/types/ArrayPlus.Entries.Device.html +++ b/types/ArrayPlus.Entries.Device.html @@ -1 +1 @@ -Device | type-plus - v8.0.0-beta.6

    Type Alias Device<A, R>

    Device<A, R>: A["length"] extends 0
        ? R
        : A extends readonly [...(infer F), infer N]
            ? ArrayPlus.Entries.Device<F, [[F["length"], N], ...R]>
            : never

    Type Parameters

    • A extends readonly unknown[]
    • R extends unknown[]
    +Device | type-plus - v8.0.0-beta.6

    Type Alias Device<A, R>

    Device<A, R>: A["length"] extends 0
        ? R
        : A extends readonly [...(infer F), infer N]
            ? ArrayPlus.Entries.Device<F, [[F["length"], N], ...R]>
            : never

    Type Parameters

    • A extends readonly unknown[]
    • R extends unknown[]
    diff --git a/types/ArrayPlus.Filter-1.html b/types/ArrayPlus.Filter-1.html index ac94af5fb..0cc39cebe 100644 --- a/types/ArrayPlus.Filter-1.html +++ b/types/ArrayPlus.Filter-1.html @@ -4,4 +4,4 @@

    Type Parameters

    type R = Filter<Array<string | undefined>, string> // string[]
     
    -
    +
    diff --git a/types/ArrayPlus.Filter._.html b/types/ArrayPlus.Filter._.html index 70a6be1f2..780c409d5 100644 --- a/types/ArrayPlus.Filter._.html +++ b/types/ArrayPlus.Filter._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, Criteria, Result>

    _<A, Criteria, Result>: A["length"] extends 0
        ? Result
        : A extends [infer H, ...(infer Rest)]
            ? IsEqual<H, Criteria, ArrayPlus.Filter._<Rest, Criteria, [...Result, H]>, ArrayPlus.Filter._<Rest, Criteria, Result>>
            : never

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Result extends unknown[]
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, Criteria, Result>

    _<A, Criteria, Result>: A["length"] extends 0
        ? Result
        : A extends [infer H, ...(infer Rest)]
            ? IsEqual<H, Criteria, ArrayPlus.Filter._<Rest, Criteria, [...Result, H]>, ArrayPlus.Filter._<Rest, Criteria, Result>>
            : never

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Result extends unknown[]
    diff --git a/types/ArrayPlus.Find-1.html b/types/ArrayPlus.Find-1.html index 3499dc56f..4bd2b77f6 100644 --- a/types/ArrayPlus.Find-1.html +++ b/types/ArrayPlus.Find-1.html @@ -21,4 +21,4 @@

    If you want the type to behave more like JavaScript, you can override it to return undefined.

    Since it is a union, the result will be joined to the matched branch as union.

    -
    +
    diff --git a/types/ArrayPlus.IndexAt-1.html b/types/ArrayPlus.IndexAt-1.html index e9fabaa73..f123c5b46 100644 --- a/types/ArrayPlus.IndexAt-1.html +++ b/types/ArrayPlus.IndexAt-1.html @@ -3,4 +3,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • N extends number
    • Fail = never
    • Upper = A["length"]
    • Lower = 0
    type R = IndexAt<['a', 'b', 'c'], 2> // 2
    type R = IndexAt<['a', 'b', 'c'], -2> // 1

    type R = IndexAt<['a', 'b', 'c'], 3> // never
    type R = IndexAt<['a', 'b', 'c'], -4> // never
    -
    +
    diff --git a/types/ArrayPlus.IndexAt._.html b/types/ArrayPlus.IndexAt._.html index f38a1e3b4..878089c5d 100644 --- a/types/ArrayPlus.IndexAt._.html +++ b/types/ArrayPlus.IndexAt._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, N, Fail, Upper, Lower>

    _<A, N, Fail, Upper, Lower>: IsEqual<A["length"], 0, Fail, IsInteger<N, {
        $else: IsAny<N, {
            $else: IsNumber<N, NumberPlus.IsNumber.$Branch<{
                    exact: true;
                }>> extends infer R
                ? R extends $Then
                    ? N
                    : never
                : never;
            $then: number;
        }>;
        $then: IsNumber<A["length"], NumberPlus.IsNumber.$Branch<{
                exact: true;
            }>> extends infer R
            ? R extends $Then
                ? N
                : R extends $Else
                    ? IsNegative<N, {
                        $else: GreaterThan<(...)[(...)], N> extends true
                            ? N
                            : Upper;
                        $then: GreaterThan<Abs<(...)>, (...)[(...)]> extends true
                            ? Lower
                            : Subtract<(...)[(...)], Abs<(...)>>;
                    }>
                    : never
            : never;
    }>>

    Type Parameters

    • A extends readonly unknown[]
    • N extends number
    • Fail = never
    • Upper = A["length"]
    • Lower = 0
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, N, Fail, Upper, Lower>

    _<A, N, Fail, Upper, Lower>: IsEqual<A["length"], 0, Fail, IsInteger<N, {
        $else: IsAny<N, {
            $else: IsNumber<N, NumberPlus.IsNumber.$Branch<{
                    exact: true;
                }>> extends infer R
                ? R extends $Then
                    ? N
                    : never
                : never;
            $then: number;
        }>;
        $then: IsNumber<A["length"], NumberPlus.IsNumber.$Branch<{
                exact: true;
            }>> extends infer R
            ? R extends $Then
                ? N
                : R extends $Else
                    ? IsNegative<N, {
                        $else: GreaterThan<(...)[(...)], N> extends true
                            ? N
                            : Upper;
                        $then: GreaterThan<Abs<(...)>, (...)[(...)]> extends true
                            ? Lower
                            : Subtract<(...)[(...)], Abs<(...)>>;
                    }>
                    : never
            : never;
    }>>

    Type Parameters

    • A extends readonly unknown[]
    • N extends number
    • Fail = never
    • Upper = A["length"]
    • Lower = 0
    diff --git a/types/ArrayPlus.IsIndexOutOfBound.html b/types/ArrayPlus.IsIndexOutOfBound.html index 79ce2448c..f3ceca174 100644 --- a/types/ArrayPlus.IsIndexOutOfBound.html +++ b/types/ArrayPlus.IsIndexOutOfBound.html @@ -3,4 +3,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • N extends number
    • Then = true
    • Else = false
    type R = IsIndexOutOfBound<[1], 0> // false
    type R = IsIndexOutOfBound<[1], -1> // false

    type R = IsIndexOutOfBound<[1], 1> // true
    type R = IsIndexOutOfBound<[1], -2> // true
    -
    +
    diff --git a/types/ArrayPlus.IsReadonly-1.html b/types/ArrayPlus.IsReadonly-1.html index 111b28dec..289a00512 100644 --- a/types/ArrayPlus.IsReadonly-1.html +++ b/types/ArrayPlus.IsReadonly-1.html @@ -4,4 +4,4 @@

    Type Parameters

    type R = IsReadonly<readonly string[]> // true
    type R = IsReadonly<readonly [1, 2, 3, 4, 5]> // true

    type R = IsReadonly<[1, 2, 3, 4, 5]> // false
    type R = IsReadonly<readonly string[] | number> // boolean
    -
    +
    diff --git a/types/ArrayPlus.PadStart.html b/types/ArrayPlus.PadStart.html index 2af8580ab..e71f4d3d3 100644 --- a/types/ArrayPlus.PadStart.html +++ b/types/ArrayPlus.PadStart.html @@ -1 +1 @@ -PadStart | type-plus - v8.0.0-beta.6

    Type Alias PadStart<A, MaxLength, PadWith>

    PadStart<A, MaxLength, PadWith>: MaxLength extends 0
        ? A
        : CanAssign<PadWith, UnionOfValues<A>> extends true
            ? A
            : ArrayPlus.PadStart<[...CreateTuple<MaxLength, PadWith>, ...A], MaxLength, PadWith>

    Type Parameters

    • A extends readonly unknown[]
    • MaxLength extends number
    • PadWith = unknown
    +PadStart | type-plus - v8.0.0-beta.6

    Type Alias PadStart<A, MaxLength, PadWith>

    PadStart<A, MaxLength, PadWith>: MaxLength extends 0
        ? A
        : CanAssign<PadWith, UnionOfValues<A>> extends true
            ? A
            : ArrayPlus.PadStart<[...CreateTuple<MaxLength, PadWith>, ...A], MaxLength, PadWith>

    Type Parameters

    • A extends readonly unknown[]
    • MaxLength extends number
    • PadWith = unknown
    diff --git a/types/ArrayPlus.Reverse-1.html b/types/ArrayPlus.Reverse-1.html index 78dd53be9..62ba66f82 100644 --- a/types/ArrayPlus.Reverse-1.html +++ b/types/ArrayPlus.Reverse-1.html @@ -1 +1 @@ -Reverse | type-plus - v8.0.0-beta.6

    Type Alias Reverse<A>

    Reverse<A>: ArrayPlus.Reverse._<A> extends infer R
        ? IsReadonly<A> extends true
            ? Readonly<R>
            : R
        : never

    Type Parameters

    • A extends readonly unknown[]
    +Reverse | type-plus - v8.0.0-beta.6

    Type Alias Reverse<A>

    Reverse<A>: ArrayPlus.Reverse._<A> extends infer R
        ? IsReadonly<A> extends true
            ? Readonly<R>
            : R
        : never

    Type Parameters

    • A extends readonly unknown[]
    diff --git a/types/ArrayPlus.Reverse._.html b/types/ArrayPlus.Reverse._.html index 0a70f479e..4ebe0b1e4 100644 --- a/types/ArrayPlus.Reverse._.html +++ b/types/ArrayPlus.Reverse._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6
    _<A>: A extends readonly [infer First, ...(infer Rest)]
        ? [...ArrayPlus.Reverse._<Rest>, First]
        : A

    Type Parameters

    • A extends readonly unknown[]
    +_ | type-plus - v8.0.0-beta.6
    _<A>: A extends readonly [infer First, ...(infer Rest)]
        ? [...ArrayPlus.Reverse._<Rest>, First]
        : A

    Type Parameters

    • A extends readonly unknown[]
    diff --git a/types/ArrayPlus.SplitAt-1.html b/types/ArrayPlus.SplitAt-1.html index 6c97df916..3bdecabba 100644 --- a/types/ArrayPlus.SplitAt-1.html +++ b/types/ArrayPlus.SplitAt-1.html @@ -6,4 +6,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • Index extends number
    • DeleteCount extends number | never = never
    • Insert extends readonly unknown[] | never = never
    SplitAt<[1, 2, 3, 4, 5], 2> // [[1, 2], [3, 4, 5]]
    SplitAt<[1, 2, 3, 4, 5], -3> // [[1, 2], [3, 4, 5]]

    SplitAt<[1, 2, 3, 4, 5], 2, 2> // [[1, 2, 5], [3, 4]]

    SplitAt<[1, 2, 3, 4, 5], 2, 2, ['a', 'b']> // [[1, 2, 'a', 'b', 5], [3, 4]]

    // out of bound resets to boundary
    SplitAt<[1, 2, 3, 4, 5], 6> // [[1, 2, 3, 4, 5], []]
    SplitAt<[1, 2, 3, 4, 5], -6> // [[], [1, 2, 3, 4, 5]]
    -
    +
    diff --git a/types/ArrayPlus.SplitAt._.html b/types/ArrayPlus.SplitAt._.html index a2f5ed7e7..bafb37d98 100644 --- a/types/ArrayPlus.SplitAt._.html +++ b/types/ArrayPlus.SplitAt._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, B, C, Index, DeleteCount, Insert>

    _<A, B, C, Index, DeleteCount, Insert>: 0 extends A["length"]
        ? IsTuple<Insert, {
            $else: [B, C];
            $then: [[...Insert, ...B], C];
        }>
        : Index extends B["length"]
            ? IsNever<DeleteCount, {
                $else: ArrayPlus.SplitAt._D<A, B, C, DeleteCount, Insert>;
                $then: [B, A];
            }>
            : A extends readonly [infer Head, ...(infer Tail)]
                ? ArrayPlus.SplitAt._<Tail, [...B, Head], [], Index, DeleteCount, Insert>
                : "unexpected: A does not extends [Head, ...Tail]"

    Type Parameters

    • A extends readonly unknown[]
    • B extends readonly unknown[]
    • C extends readonly unknown[]
    • Index extends number
    • DeleteCount
    • Insert extends readonly unknown[]
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<A, B, C, Index, DeleteCount, Insert>

    _<A, B, C, Index, DeleteCount, Insert>: 0 extends A["length"]
        ? IsTuple<Insert, {
            $else: [B, C];
            $then: [[...Insert, ...B], C];
        }>
        : Index extends B["length"]
            ? IsNever<DeleteCount, {
                $else: ArrayPlus.SplitAt._D<A, B, C, DeleteCount, Insert>;
                $then: [B, A];
            }>
            : A extends readonly [infer Head, ...(infer Tail)]
                ? ArrayPlus.SplitAt._<Tail, [...B, Head], [], Index, DeleteCount, Insert>
                : "unexpected: A does not extends [Head, ...Tail]"

    Type Parameters

    • A extends readonly unknown[]
    • B extends readonly unknown[]
    • C extends readonly unknown[]
    • Index extends number
    • DeleteCount
    • Insert extends readonly unknown[]
    diff --git a/types/ArrayPlus.SplitAt._D.html b/types/ArrayPlus.SplitAt._D.html index 246f35037..797ade67f 100644 --- a/types/ArrayPlus.SplitAt._D.html +++ b/types/ArrayPlus.SplitAt._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<A, B, C, DeleteCount, Insert>

    _D<A, B, C, DeleteCount, Insert>: DeleteCount extends C["length"]
        ? IsTuple<Insert, {
            $else: [[...B, ...A], C];
            $then: [[...B, ...Insert, ...A], C];
        }>
        : A extends readonly [infer Head, ...(infer Tail)]
            ? ArrayPlus.SplitAt._D<Tail, B, [...C, Head], DeleteCount, Insert>
            : IsTuple<Insert, {
                $else: [B, C];
                $then: [[...Insert, ...B], C];
            }>

    Type Parameters

    • A extends readonly unknown[]
    • B extends readonly unknown[]
    • C extends readonly unknown[]
    • DeleteCount
    • Insert extends readonly unknown[]
    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<A, B, C, DeleteCount, Insert>

    _D<A, B, C, DeleteCount, Insert>: DeleteCount extends C["length"]
        ? IsTuple<Insert, {
            $else: [[...B, ...A], C];
            $then: [[...B, ...Insert, ...A], C];
        }>
        : A extends readonly [infer Head, ...(infer Tail)]
            ? ArrayPlus.SplitAt._D<Tail, B, [...C, Head], DeleteCount, Insert>
            : IsTuple<Insert, {
                $else: [B, C];
                $then: [[...Insert, ...B], C];
            }>

    Type Parameters

    • A extends readonly unknown[]
    • B extends readonly unknown[]
    • C extends readonly unknown[]
    • DeleteCount
    • Insert extends readonly unknown[]
    diff --git a/types/Assignable-1.html b/types/Assignable-1.html index 9ef4f2892..97d686f4d 100644 --- a/types/Assignable-1.html +++ b/types/Assignable-1.html @@ -18,4 +18,4 @@
    type R = Assignable<any, any, { $any: 1 }> // 1
    type R = Assignable<unknown, any, { $unknown: 1 }> // 1
    type R = Assignable<never, any, { $never: 1 }> // 1
    -
    +
    diff --git a/types/Assignable._.html b/types/Assignable._.html index 54936c1ab..2559f15aa 100644 --- a/types/Assignable._.html +++ b/types/Assignable._.html @@ -3,4 +3,4 @@

    This is the internal logic of Assignable. It does not check against special types.

    It is suitable for building custom types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/Assignable._Branch.html b/types/Assignable._Branch.html index cea662fb1..c1c71e2ac 100644 --- a/types/Assignable._Branch.html +++ b/types/Assignable._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $SelectionBranch & $O

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $SelectionBranch & $O

    Type Parameters

    diff --git a/types/Assignable._Default.html b/types/Assignable._Default.html index 25ab5adb8..01fa2d370 100644 --- a/types/Assignable._Default.html +++ b/types/Assignable._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    +$Default | type-plus - v8.0.0-beta.6
    diff --git a/types/Assignable._Options.html b/types/Assignable._Options.html index 82afcc825..70f4e0631 100644 --- a/types/Assignable._Options.html +++ b/types/Assignable._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/Assignable._UtilOptions.html b/types/Assignable._UtilOptions.html index f61f1f8de..9b7fed072 100644 --- a/types/Assignable._UtilOptions.html +++ b/types/Assignable._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/At.html b/types/At.html index 86b8e5dea..6c0efe10f 100644 --- a/types/At.html +++ b/types/At.html @@ -6,4 +6,4 @@
    type R = At<[1, 2, 3], 2> // 3
    type R = At<[1, 2, 3], -1> // 3
    -
    +
    diff --git a/types/AwaitedProp.html b/types/AwaitedProp.html index 3fb13818b..19dd6ad3e 100644 --- a/types/AwaitedProp.html +++ b/types/AwaitedProp.html @@ -1,2 +1,2 @@ AwaitedProp | type-plus - v8.0.0-beta.6

    Type Alias AwaitedProp<T, K>

    AwaitedProp<T, K>: {
        [k in keyof T]: k extends K
            ? Awaited<T[k]>
            : T[k]
    }

    Await on specific props V on type T

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/BNotA.html b/types/BNotA.html index 19129cb12..b3eb09d11 100644 --- a/types/BNotA.html +++ b/types/BNotA.html @@ -1 +1 @@ -BNotA | type-plus - v8.0.0-beta.6

    Type Alias BNotA<A, B>

    BNotA<A, B>: ANotB<B, A>

    Type Parameters

    +BNotA | type-plus - v8.0.0-beta.6

    Type Alias BNotA<A, B>

    BNotA<A, B>: ANotB<B, A>

    Type Parameters

    diff --git a/types/Box-1.html b/types/Box-1.html index 99e33a177..9a2797247 100644 --- a/types/Box-1.html +++ b/types/Box-1.html @@ -5,4 +5,4 @@
    Box<number> // Number
    Box<object> // Object
    Box<string> // String
    Box<'abc'> // String

    Box<undefined> // never
    -
    +
    diff --git a/types/Box.Options.html b/types/Box.Options.html index 2190de393..907b7c397 100644 --- a/types/Box.Options.html +++ b/types/Box.Options.html @@ -1 +1 @@ -Options | type-plus - v8.0.0-beta.6

    Type Alias Options

    Options: {
        $notBoxable?: unknown;
    }
    +Options | type-plus - v8.0.0-beta.6

    Type Alias Options

    Options: {
        $notBoxable?: unknown;
    }
    diff --git a/types/Brand.html b/types/Brand.html index 036479f19..8c1c2c0f2 100644 --- a/types/Brand.html +++ b/types/Brand.html @@ -1,3 +1,3 @@ Brand | type-plus - v8.0.0-beta.6

    Type Alias Brand<B, T>

    Brand<B, T>: [T] extends
            | [null]
            | [undefined]
            | [symbol]
            | [void]
        ? Branded<B, T>
        : Branded<B, T> & T

    Create a "branded" version of a type. TypeScript won't allow implicit conversion to this type

    -

    Type Parameters

    • B extends string
    • T = never
    +

    Type Parameters

    • B extends string
    • T = never
    diff --git a/types/CanAssign.html b/types/CanAssign.html index 4795a7ef2..33bb23278 100644 --- a/types/CanAssign.html +++ b/types/CanAssign.html @@ -13,4 +13,4 @@ So the result is true | false = boolean.

    If you want to make sure all branches are assignable, use StrictCanAssign<A, B>.

    -
    +
    diff --git a/types/ChainFn.html b/types/ChainFn.html index 1f5af4e7f..a2a5c2858 100644 --- a/types/ChainFn.html +++ b/types/ChainFn.html @@ -1 +1 @@ -ChainFn | type-plus - v8.0.0-beta.6

    Type Alias ChainFn<T>

    ChainFn<T>: ((param: T) => T)

    Type Parameters

    • T
    +ChainFn | type-plus - v8.0.0-beta.6

    Type Alias ChainFn<T>

    ChainFn<T>: ((param: T) => T)

    Type Parameters

    • T
    diff --git a/types/CommonKeys.html b/types/CommonKeys.html index e2a34786e..d08bdfe5f 100644 --- a/types/CommonKeys.html +++ b/types/CommonKeys.html @@ -1,3 +1,3 @@ CommonKeys | type-plus - v8.0.0-beta.6

    Type Alias CommonKeys<A>

    CommonKeys<A>: CommonPropKeys<A>

    Gets the common property keys of the elements in A.

    Type Parameters

    Please use CommonPropKeys instead.

    -
    +
    diff --git a/types/CommonPropKeys-1.html b/types/CommonPropKeys-1.html index 70b852403..f2ace0f4c 100644 --- a/types/CommonPropKeys-1.html +++ b/types/CommonPropKeys-1.html @@ -6,4 +6,4 @@

    Return type when T is never. Default to never.

    -
    +
    diff --git a/types/ComposableTypes.html b/types/ComposableTypes.html index cae08db7d..9414a0024 100644 --- a/types/ComposableTypes.html +++ b/types/ComposableTypes.html @@ -1,2 +1,2 @@ ComposableTypes | type-plus - v8.0.0-beta.6

    Type Alias ComposableTypes

    ComposableTypes: object | Function

    Types that can contain custom properties.

    -
    +
    diff --git a/types/Concat.html b/types/Concat.html index d8bdca561..696c96dfb 100644 --- a/types/Concat.html +++ b/types/Concat.html @@ -6,4 +6,4 @@
    type R = Concat<[1], [2, 3]> // [1, 2, 3]
     
    -
    +
    diff --git a/types/ContextBaseShape.html b/types/ContextBaseShape.html index c63652b0e..09be1c4bf 100644 --- a/types/ContextBaseShape.html +++ b/types/ContextBaseShape.html @@ -1 +1 @@ -ContextBaseShape | type-plus - v8.0.0-beta.6

    Type Alias ContextBaseShape

    ContextBaseShape: Record<string | symbol, any>
    +ContextBaseShape | type-plus - v8.0.0-beta.6

    Type Alias ContextBaseShape

    ContextBaseShape: Record<string | symbol, any>
    diff --git a/types/ContextBuilder.html b/types/ContextBuilder.html index b2750c9a8..1b00da56a 100644 --- a/types/ContextBuilder.html +++ b/types/ContextBuilder.html @@ -1,8 +1,8 @@ ContextBuilder | type-plus - v8.0.0-beta.6

    Type Alias ContextBuilder<Init, Ctx>

    ContextBuilder<Init, Ctx>: {
        build(): Ctx;
        extend<Additional>(extender: ContextExtender<Ctx, Additional>): ContextBuilder<Init, LeftJoin<Ctx, Additional>>;
    }

    Type Parameters

    Type declaration

    +

    Returns ContextBuilder<Init, LeftJoin<Ctx, Additional>>

    diff --git a/types/ContextExtender.html b/types/ContextExtender.html index 945c059fb..84f5e7ab9 100644 --- a/types/ContextExtender.html +++ b/types/ContextExtender.html @@ -1,4 +1,4 @@ ContextExtender | type-plus - v8.0.0-beta.6

    Type Alias ContextExtender<Current, Additional>

    ContextExtender<Current, Additional>: ((context: Current) => Additional)

    Extends the context with new props.

    Type Parameters

    • Current
    • Additional

    Type declaration

    +
    diff --git a/types/CreateTuple.html b/types/CreateTuple.html index 32c9f415f..a98c50e5e 100644 --- a/types/CreateTuple.html +++ b/types/CreateTuple.html @@ -4,4 +4,4 @@
  • https://github.com/microsoft/TypeScript/issues/26223#issuecomment-674514787
  • https://github.com/microsoft/TypeScript/issues/47874#issuecomment-1039157322
  • -
    +
    diff --git a/types/Decrement.html b/types/Decrement.html index c65a6fbf0..51e736916 100644 --- a/types/Decrement.html +++ b/types/Decrement.html @@ -1 +1 @@ -Decrement | type-plus - v8.0.0-beta.6

    Type Alias Decrement<N>

    Decrement<N>: Subtract<N, 1>

    Type Parameters

    • N extends number | bigint
    +Decrement | type-plus - v8.0.0-beta.6

    Type Alias Decrement<N>

    Decrement<N>: Subtract<N, 1>

    Type Parameters

    • N extends number | bigint
    diff --git a/types/DropFirst-1.html b/types/DropFirst-1.html index 34bde5ed1..b1b2d9cff 100644 --- a/types/DropFirst-1.html +++ b/types/DropFirst-1.html @@ -9,4 +9,4 @@ Default to T.

    Return type when T is an empty tuple. Default to [].

    -
    +
    diff --git a/types/DropLast-1.html b/types/DropLast-1.html index e3e59ff80..3ec59544b 100644 --- a/types/DropLast-1.html +++ b/types/DropLast-1.html @@ -9,4 +9,4 @@ Default to T.

    Return type when T is an empty tuple. Default to [].

    -
    +
    diff --git a/types/DropMatch.html b/types/DropMatch.html index a3321552a..7cfde4b27 100644 --- a/types/DropMatch.html +++ b/types/DropMatch.html @@ -3,4 +3,4 @@

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    type R = DropMatch<Array<string | undefined>, undefined> // string[]
    type R = DropMatch<Array<string>, string> // never[]
    type R = DropMatch<Array<1 | 2>, number> // never[]
    -
    +
    diff --git a/types/DropNull.html b/types/DropNull.html index 6b581281d..601f8d6da 100644 --- a/types/DropNull.html +++ b/types/DropNull.html @@ -1 +1 @@ -DropNull | type-plus - v8.0.0-beta.6

    Type Alias DropNull<A>

    DropNull<A>: DropMatch<A, null>

    Type Parameters

    • A extends any[]
    +DropNull | type-plus - v8.0.0-beta.6

    Type Alias DropNull<A>

    DropNull<A>: DropMatch<A, null>

    Type Parameters

    • A extends any[]
    diff --git a/types/DropNullable.html b/types/DropNullable.html index b099eca58..6eac4dbfd 100644 --- a/types/DropNullable.html +++ b/types/DropNullable.html @@ -1 +1 @@ -DropNullable | type-plus - v8.0.0-beta.6

    Type Alias DropNullable<A>

    DropNullable<A>: DropMatch<A, null | undefined>

    Type Parameters

    • A extends any[]
    +DropNullable | type-plus - v8.0.0-beta.6

    Type Alias DropNullable<A>

    DropNullable<A>: DropMatch<A, null | undefined>

    Type Parameters

    • A extends any[]
    diff --git a/types/DropUndefined.html b/types/DropUndefined.html index 994becf28..b8e0c8383 100644 --- a/types/DropUndefined.html +++ b/types/DropUndefined.html @@ -1 +1 @@ -DropUndefined | type-plus - v8.0.0-beta.6

    Type Alias DropUndefined<A>

    DropUndefined<A>: DropMatch<A, undefined>

    Type Parameters

    • A extends any[]
    +DropUndefined | type-plus - v8.0.0-beta.6

    Type Alias DropUndefined<A>

    DropUndefined<A>: DropMatch<A, undefined>

    Type Parameters

    • A extends any[]
    diff --git a/types/EitherAnd.html b/types/EitherAnd.html index 5563b6404..1dc597f51 100644 --- a/types/EitherAnd.html +++ b/types/EitherAnd.html @@ -8,4 +8,4 @@
    type A = { src: string, minify?: boolean }
    type B = { logLevel: number }
    function config(options: EitherAnd<A, B>) { }

    config({ logLevel: 1 })
    config({ src: 'src' })
    config({ src: 'src', minify: false })
    config({ minify: false }) // INVALID
    -
    +
    diff --git a/types/EitherOrBoth.html b/types/EitherOrBoth.html index 2983c6371..fd218d0cd 100644 --- a/types/EitherOrBoth.html +++ b/types/EitherOrBoth.html @@ -7,4 +7,4 @@

    Type Parameters

    • A
    • B
    • C = void
    • D = void
    type A = { src: string, minify?: boolean }
    type B = { logLevel: number }
    function config(options: EitherAnd<A, B>) { }

    config({ logLevel: 1 })
    config({ src: 'src' })
    config({ src: 'src', minify: false })
    config({ minify: false }) // INVALID
    -
    +
    diff --git a/types/EndoFn.html b/types/EndoFn.html index 5bb172b82..5a1f31248 100644 --- a/types/EndoFn.html +++ b/types/EndoFn.html @@ -1,2 +1,2 @@ EndoFn | type-plus - v8.0.0-beta.6

    Type Alias EndoFn<T>

    EndoFn<T>: ((param: T) => T)

    An endofunctor is a functor from one category back to the same category.

    -

    Type Parameters

    • T
    +

    Type Parameters

    • T
    diff --git a/types/Equal.html b/types/Equal.html index f2a4c7029..4d20f846a 100644 --- a/types/Equal.html +++ b/types/Equal.html @@ -4,4 +4,4 @@
    type R = Equal<1, 1> // true
    type R = Equal<any, any> // true
    type R = Equal<boolean, boolean> // true
    type R = Equal<true, true> // true
    type R = Equal<[1], [1]> // true

    type R = Equal<boolean, true> // false
    type R = Equal<any, 1> // false
    type R = Equal<[any], [1]> // false
    type R = Equal<{ a: 1 }, { a: 1; b: 2 }> // false
    -
    +
    diff --git a/types/Except.html b/types/Except.html index 2d99aaa56..92297fa77 100644 --- a/types/Except.html +++ b/types/Except.html @@ -1,2 +1,2 @@ Except | type-plus - v8.0.0-beta.6

    Type Alias Except<T, K>

    Except<T, K>: Omit<T, K>

    Type Parameters

    • T
    • K extends keyof T

    replaced by Omit

    -
    +
    diff --git a/types/Exclude.html b/types/Exclude.html index 8953806e0..2b10bb560 100644 --- a/types/Exclude.html +++ b/types/Exclude.html @@ -5,4 +5,4 @@

    Type Parameters

    • T
    • U
    • R = never
    type R = Exclude<undefined, undefined> // never
    type R = Exclude<undefined | 1, undefined> // 1

    type R = Exclude<undefined, undefined, 2> // 2
    type R = Exclude<undefined | 1, undefined, 2> // 1 | 2
    -
    +
    diff --git a/types/ExcludePropType.html b/types/ExcludePropType.html index 3d250bc94..0c9ff6f34 100644 --- a/types/ExcludePropType.html +++ b/types/ExcludePropType.html @@ -1,2 +1,2 @@ ExcludePropType | type-plus - v8.0.0-beta.6

    Type Alias ExcludePropType<T, U>

    ExcludePropType<T, U>: {
        [k in keyof T]: Exclude<T[k], U>
    }

    Exclude type U from properties in T.

    -

    Type Parameters

    • T extends Record<keyof any, any>
    • U
    +

    Type Parameters

    • T extends Record<keyof any, any>
    • U
    diff --git a/types/Extendable.html b/types/Extendable.html index 9f433a410..a4d7d21a0 100644 --- a/types/Extendable.html +++ b/types/Extendable.html @@ -1,2 +1,2 @@ Extendable | type-plus - v8.0.0-beta.6

    Type Alias Extendable<A, B, Then, Else>

    Extendable<A, B, Then, Else>: A extends B
        ? Then
        : Else

    Type Parameters

    • A
    • B
    • Then = A
    • Else = never

    use $Assignable

    -
    +
    diff --git a/types/ExtractFunction.html b/types/ExtractFunction.html index 0e54605ea..600069b98 100644 --- a/types/ExtractFunction.html +++ b/types/ExtractFunction.html @@ -4,4 +4,4 @@
    import type { ExtractFunction } from 'type-plus'

    type R = ExtractFunction<{
    () => void
    a: 1
    }> // () => void
    -
    +
    diff --git a/types/Filter.html b/types/Filter.html index 1965e1875..34098d5bf 100644 --- a/types/Filter.html +++ b/types/Filter.html @@ -3,4 +3,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    type R = Filter<[1, 2, '3'], number> // [1, 2]
    type R = Filter<Array<string | undefined>, string> // string[]
    -
    +
    diff --git a/types/FindFirst-1.html b/types/FindFirst-1.html index 29f7b6fc7..5c7dfa7d6 100644 --- a/types/FindFirst-1.html +++ b/types/FindFirst-1.html @@ -22,4 +22,4 @@

    @typeParam Options['$unionMiss'] Return value when a branch of the union T does not match Criteria. Default to undefined. Since it is a union, the result will be join to the matched branch as union.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/FindLast.html b/types/FindLast.html index 58d779361..df4570583 100644 --- a/types/FindLast.html +++ b/types/FindLast.html @@ -5,4 +5,4 @@

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    ArrayPlus.Find<Array<1 | 2 | 'x'>, number> // 1 | 2 | undefined

    ArrayPlus.Find<[true, 123, 'x', 321], number> // 321
    -
    +
    diff --git a/types/Flavor.html b/types/Flavor.html index fae2dc82a..78f28d837 100644 --- a/types/Flavor.html +++ b/types/Flavor.html @@ -2,4 +2,4 @@ TypeScript will disallow mixing flavors, but will allow unflavored values of that type to be passed in where a flavored version is expected. This is a less restrictive form of branding.

    -

    Type Parameters

    • F extends string
    • T
    +

    Type Parameters

    • F extends string
    • T
    diff --git a/types/GreaterThan.html b/types/GreaterThan.html index 3ab5fabe9..3933d9a6c 100644 --- a/types/GreaterThan.html +++ b/types/GreaterThan.html @@ -1 +1 @@ -GreaterThan | type-plus - v8.0.0-beta.6

    Type Alias GreaterThan<A, B, Fail>

    GreaterThan<A, B, Fail>: Subtract<A, B, "fail"> extends infer R extends number
        ? R extends 0
            ? false
            : IsPositive<R>
        : Fail

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +GreaterThan | type-plus - v8.0.0-beta.6

    Type Alias GreaterThan<A, B, Fail>

    GreaterThan<A, B, Fail>: Subtract<A, B, "fail"> extends infer R extends number
        ? R extends 0
            ? false
            : IsPositive<R>
        : Fail

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/HasKey.html b/types/HasKey.html index c24a051fe..b466265b6 100644 --- a/types/HasKey.html +++ b/types/HasKey.html @@ -1 +1 @@ -HasKey | type-plus - v8.0.0-beta.6

    Type Alias HasKey<T, K, Then, Else>

    HasKey<T, K, Then, Else>: K extends keyof T
        ? Then
        : Else

    Type Parameters

    • T
    • K
    • Then = true
    • Else = false
    +HasKey | type-plus - v8.0.0-beta.6

    Type Alias HasKey<T, K, Then, Else>

    HasKey<T, K, Then, Else>: K extends keyof T
        ? Then
        : Else

    Type Parameters

    • T
    • K
    • Then = true
    • Else = false
    diff --git a/types/HasUndefined.html b/types/HasUndefined.html index 2e679ab46..78da0dc20 100644 --- a/types/HasUndefined.html +++ b/types/HasUndefined.html @@ -13,4 +13,4 @@
    type R = HasUndefined<undefined, $SelectionBranch> // $Then
    type R = HasUndefined<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/Head-1.html b/types/Head-1.html index d899e7b46..5d972d300 100644 --- a/types/Head-1.html +++ b/types/Head-1.html @@ -8,4 +8,4 @@ Default to never.

    Return type when T is []. Default to never.

    -
    +
    diff --git a/types/If.html b/types/If.html index 5878341f5..2af972243 100644 --- a/types/If.html +++ b/types/If.html @@ -1 +1 @@ -If | type-plus - v8.0.0-beta.6

    Type Alias If<Condition, Then, Else>

    If<Condition, Then, Else>: Condition extends true
        ? Then
        : Else

    Type Parameters

    • Condition extends boolean
    • Then = true
    • Else = false
    +If | type-plus - v8.0.0-beta.6

    Type Alias If<Condition, Then, Else>

    If<Condition, Then, Else>: Condition extends true
        ? Then
        : Else

    Type Parameters

    • Condition extends boolean
    • Then = true
    • Else = false
    diff --git a/types/Increment.html b/types/Increment.html index 4de7508a8..c1c1df4e9 100644 --- a/types/Increment.html +++ b/types/Increment.html @@ -1 +1 @@ -Increment | type-plus - v8.0.0-beta.6

    Type Alias Increment<N>

    Increment<N>: Add<N, 1>

    Type Parameters

    • N extends number | bigint
    +Increment | type-plus - v8.0.0-beta.6

    Type Alias Increment<N>

    Increment<N>: Add<N, 1>

    Type Parameters

    • N extends number | bigint
    diff --git a/types/IntersectOfProps.html b/types/IntersectOfProps.html index d3a5f0f6a..9d8706b6a 100644 --- a/types/IntersectOfProps.html +++ b/types/IntersectOfProps.html @@ -1,3 +1,3 @@ IntersectOfProps | type-plus - v8.0.0-beta.6

    Type Alias IntersectOfProps<A, P>

    IntersectOfProps<A, P>: number extends A["length"]
        ? A[0][P]
        : A["length"] extends 0
            ? never
            : A["length"] extends 1
                ? A[0][P]
                : A[0][P] & IntersectOfProps<Tail<A>, P>

    🦴 utilities

    Gets the intersect of properties of the elements in A.

    -

    Type Parameters

    • A extends readonly Record<any, unknown>[]
    • P extends KeyTypes
    +

    Type Parameters

    • A extends readonly Record<any, unknown>[]
    • P extends KeyTypes
    diff --git a/types/IsAny-1.html b/types/IsAny-1.html index 9023ff5e0..d7ae94faf 100644 --- a/types/IsAny-1.html +++ b/types/IsAny-1.html @@ -13,4 +13,4 @@
    type R = IsAny<any, $SelectionBranch> // $Then
    type R = IsAny<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsAny._Branch.html b/types/IsAny._Branch.html index deb2ef9a5..22cea860f 100644 --- a/types/IsAny._Branch.html +++ b/types/IsAny._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsAny._Options.html b/types/IsAny._Options.html index b4878e075..42ec6985a 100644 --- a/types/IsAny._Options.html +++ b/types/IsAny._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsAnyOrNever.html b/types/IsAnyOrNever.html index 0f85214ff..6d4921afc 100644 --- a/types/IsAnyOrNever.html +++ b/types/IsAnyOrNever.html @@ -5,4 +5,4 @@

    Type Parameters

    type R = IsAnyOrNever<any> // $Then
    type R = IsAnyOrNever<never> // $Then

    type R = IsAnyOrNever<1> // $Else
    type R = IsAnyOrNever<unknown> // $Else

    type R = IsAnyOrNever<never, $SelectionPredicate> // true
    type R = IsAnyOrNever<'a', $SelectionPredicate> // false
    -
    +
    diff --git a/types/IsArray-1.html b/types/IsArray-1.html index 6e31e4d8d..d5824db9b 100644 --- a/types/IsArray-1.html +++ b/types/IsArray-1.html @@ -23,4 +23,4 @@
    type R = IsArray<number[], IsArray.$Branch> // $Then
    type R = IsArray<number, IsArray.$Branch> // $Else
    -
    +
    diff --git a/types/IsArray._.html b/types/IsArray._.html index 516ef4a17..a788ecd86 100644 --- a/types/IsArray._.html +++ b/types/IsArray._.html @@ -2,4 +2,4 @@

    Validate if T is an array.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsArray._Branch.html b/types/IsArray._Branch.html index c4381dca2..9bd861b75 100644 --- a/types/IsArray._Branch.html +++ b/types/IsArray._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsArray._Options.html b/types/IsArray._Options.html index c585d1ac4..94e2ca807 100644 --- a/types/IsArray._Options.html +++ b/types/IsArray._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6

    Type Alias $Options

    $Options: $Equality.$Options & $ExactOptions
    +$Options | type-plus - v8.0.0-beta.6

    Type Alias $Options

    $Options: $Equality.$Options & $ExactOptions
    diff --git a/types/IsArray._UtilOptions.html b/types/IsArray._UtilOptions.html index 03403d449..525a61da1 100644 --- a/types/IsArray._UtilOptions.html +++ b/types/IsArray._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    diff --git a/types/IsAssign.html b/types/IsAssign.html index 27e2f7de9..2ab3b6284 100644 --- a/types/IsAssign.html +++ b/types/IsAssign.html @@ -1,2 +1,2 @@ IsAssign | type-plus - v8.0.0-beta.6

    Type Alias IsAssign<A, B, Then, Else>

    IsAssign<A, B, Then, Else>: CanAssign<A, B, Then, Else>

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false

    use Assignable<A, B> instead

    -
    +
    diff --git a/types/IsBigint-1.html b/types/IsBigint-1.html index aaf4f8927..77e57940b 100644 --- a/types/IsBigint-1.html +++ b/types/IsBigint-1.html @@ -23,4 +23,4 @@
    type R = IsBigint<bigint, $SelectionBranch> // $Then
    type R = IsBigint<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsBigint._.html b/types/IsBigint._.html index da5115429..ad1446c17 100644 --- a/types/IsBigint._.html +++ b/types/IsBigint._.html @@ -2,4 +2,4 @@

    Validate if T is bigint or bigint literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsBigint._Branch.html b/types/IsBigint._Branch.html index 8e3d4dbd2..6eed2cd60 100644 --- a/types/IsBigint._Branch.html +++ b/types/IsBigint._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsBigint._Options.html b/types/IsBigint._Options.html index ed1e2cae6..28627fe83 100644 --- a/types/IsBigint._Options.html +++ b/types/IsBigint._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBigint._SD.html b/types/IsBigint._SD.html index c8f6bc97e..4f7646db1 100644 --- a/types/IsBigint._SD.html +++ b/types/IsBigint._SD.html @@ -1 +1 @@ -_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBigint._SN.html b/types/IsBigint._SN.html index f4445ec16..ca76be928 100644 --- a/types/IsBigint._SN.html +++ b/types/IsBigint._SN.html @@ -1 +1 @@ -_SN | type-plus - v8.0.0-beta.6

    Type Alias _SN<T, $O>

    _SN<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_SN | type-plus - v8.0.0-beta.6

    Type Alias _SN<T, $O>

    _SN<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBigint._UtilOptions.html b/types/IsBigint._UtilOptions.html index 7d23c8eb1..dd00b34f2 100644 --- a/types/IsBigint._UtilOptions.html +++ b/types/IsBigint._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    diff --git a/types/IsBigintLiteral-1.html b/types/IsBigintLiteral-1.html index cd2f7a487..d8836ad5f 100644 --- a/types/IsBigintLiteral-1.html +++ b/types/IsBigintLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsBigintLiteral<1n, $SelectionBranch> // $Then
    type R = IsBigintLiteral<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsBigintLiteral._.html b/types/IsBigintLiteral._.html index 9de686577..1382294b0 100644 --- a/types/IsBigintLiteral._.html +++ b/types/IsBigintLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is bigint literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsBigintLiteral._Branch.html b/types/IsBigintLiteral._Branch.html index 35ad5d103..6513ef64a 100644 --- a/types/IsBigintLiteral._Branch.html +++ b/types/IsBigintLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBigintLiteral._D.html b/types/IsBigintLiteral._D.html index a1d495ed8..7705babb1 100644 --- a/types/IsBigintLiteral._D.html +++ b/types/IsBigintLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBigintLiteral._N.html b/types/IsBigintLiteral._N.html index acb4b5937..e1c256e3d 100644 --- a/types/IsBigintLiteral._N.html +++ b/types/IsBigintLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBigintLiteral._Options.html b/types/IsBigintLiteral._Options.html index a78c77d91..8deeb1464 100644 --- a/types/IsBigintLiteral._Options.html +++ b/types/IsBigintLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBigintLiteral._UtilOptions.html b/types/IsBigintLiteral._UtilOptions.html index 3a2f99b2e..4ea01a173 100644 --- a/types/IsBigintLiteral._UtilOptions.html +++ b/types/IsBigintLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBoolean-1.html b/types/IsBoolean-1.html index 839df0b1d..d12f38ce9 100644 --- a/types/IsBoolean-1.html +++ b/types/IsBoolean-1.html @@ -18,4 +18,4 @@
    type R = IsBoolean<boolean, $SelectionBranch> // $Then
    type R = IsBoolean<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsBoolean._.html b/types/IsBoolean._.html index 27e001a88..508a9b190 100644 --- a/types/IsBoolean._.html +++ b/types/IsBoolean._.html @@ -2,4 +2,4 @@

    Validate if T is boolean or boolean literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsBoolean._Branch.html b/types/IsBoolean._Branch.html index 6d7664c0a..3efbf799c 100644 --- a/types/IsBoolean._Branch.html +++ b/types/IsBoolean._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsBoolean._DistributeMap.html b/types/IsBoolean._DistributeMap.html index a499d287f..28fdae359 100644 --- a/types/IsBoolean._DistributeMap.html +++ b/types/IsBoolean._DistributeMap.html @@ -1 +1 @@ -_DistributeMap | type-plus - v8.0.0-beta.6

    Type Alias _DistributeMap<T>

    _DistributeMap<T>: T extends true
        ? T extends false
            ? true extends T
                ? false extends T
                    ? "ABCD"
                    : "ABCd"
                : false extends T
                    ? "ABcD"
                    : "ABcd"
            : true extends T
                ? false extends T
                    ? "AbCD"
                    : "AbCd"
                : false extends T
                    ? "AbcD"
                    : "Abcd"
        : T extends false
            ? true extends T
                ? false extends T
                    ? "aBCD"
                    : "aBCd"
                : false extends T
                    ? "aBcD"
                    : "aBcd"
            : true extends T
                ? false extends T
                    ? "abCD"
                    : "abCd"
                : false extends T
                    ? "abcD"
                    : "abcd"

    Type Parameters

    • T
    +_DistributeMap | type-plus - v8.0.0-beta.6

    Type Alias _DistributeMap<T>

    _DistributeMap<T>: T extends true
        ? T extends false
            ? true extends T
                ? false extends T
                    ? "ABCD"
                    : "ABCd"
                : false extends T
                    ? "ABcD"
                    : "ABcd"
            : true extends T
                ? false extends T
                    ? "AbCD"
                    : "AbCd"
                : false extends T
                    ? "AbcD"
                    : "Abcd"
        : T extends false
            ? true extends T
                ? false extends T
                    ? "aBCD"
                    : "aBCd"
                : false extends T
                    ? "aBcD"
                    : "aBcd"
            : true extends T
                ? false extends T
                    ? "abCD"
                    : "abCd"
                : false extends T
                    ? "abcD"
                    : "abcd"

    Type Parameters

    • T
    diff --git a/types/IsBoolean._N.html b/types/IsBoolean._N.html index 598e325ca..d108b7738 100644 --- a/types/IsBoolean._N.html +++ b/types/IsBoolean._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [boolean]
        ? [T] extends [true]
            ? $ResolveBranch<T, $O, [$Else]>
            : [T] extends [false]
                ? $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [boolean]
        ? [T] extends [true]
            ? $ResolveBranch<T, $O, [$Else]>
            : [T] extends [false]
                ? $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsBoolean._Options.html b/types/IsBoolean._Options.html index ddf75a028..e35688f6b 100644 --- a/types/IsBoolean._Options.html +++ b/types/IsBoolean._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsBoolean._SD.html b/types/IsBoolean._SD.html index 86307c9d7..fbc5c4196 100644 --- a/types/IsBoolean._SD.html +++ b/types/IsBoolean._SD.html @@ -1 +1 @@ -_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: _DistributeMap<T> extends infer R
        ? ["aBcD" | "AbCd" | "abcd"] extends [R]
            ? $ResolveBranch<boolean, $O, [$Then]> | $ResolveBranch<Exclude<T, boolean>, $O, [$Else]>
            : ["aBcD" | "AbCd"] extends [R]
                ? $ResolveBranch<T, $O, [$Then]>
                : ["aBcd" | "Abcd"] extends [R]
                    ? $ResolveBranch<T, $O, [$Then]>
                    : $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    +_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: _DistributeMap<T> extends infer R
        ? ["aBcD" | "AbCd" | "abcd"] extends [R]
            ? $ResolveBranch<boolean, $O, [$Then]> | $ResolveBranch<Exclude<T, boolean>, $O, [$Else]>
            : ["aBcD" | "AbCd"] extends [R]
                ? $ResolveBranch<T, $O, [$Then]>
                : ["aBcd" | "Abcd"] extends [R]
                    ? $ResolveBranch<T, $O, [$Then]>
                    : $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    diff --git a/types/IsBoolean._UtilOptions.html b/types/IsBoolean._UtilOptions.html index 1e25192e0..035abbb46 100644 --- a/types/IsBoolean._UtilOptions.html +++ b/types/IsBoolean._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsDisjoint.html b/types/IsDisjoint.html index 10cffb97a..aeaa85fed 100644 --- a/types/IsDisjoint.html +++ b/types/IsDisjoint.html @@ -1,3 +1,3 @@ IsDisjoint | type-plus - v8.0.0-beta.6

    Type Alias IsDisjoint<A, B>

    IsDisjoint<A, B>: And<Not<HasKey<A, keyof B>>, Not<HasKey<B, keyof A>>>

    Are the two records disjoint from each other. Disjoint means no common property.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsEmptyObject.html b/types/IsEmptyObject.html index 01dad162c..b75ed6b63 100644 --- a/types/IsEmptyObject.html +++ b/types/IsEmptyObject.html @@ -1 +1 @@ -IsEmptyObject | type-plus - v8.0.0-beta.6

    Type Alias IsEmptyObject<T>

    IsEmptyObject<T>: T extends {}
        ? {} extends T
            ? true
            : false
        : false

    Type Parameters

    • T
    +IsEmptyObject | type-plus - v8.0.0-beta.6

    Type Alias IsEmptyObject<T>

    IsEmptyObject<T>: T extends {}
        ? {} extends T
            ? true
            : false
        : false

    Type Parameters

    • T
    diff --git a/types/IsEqual.html b/types/IsEqual.html index b30f99835..84f8fd878 100644 --- a/types/IsEqual.html +++ b/types/IsEqual.html @@ -5,4 +5,4 @@

    Note that intersection type checks only works at first level. It cannot be check recursively, or else will run into infinite recursion if the type includes recursive types.

    -

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    +

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    diff --git a/types/IsExtend.html b/types/IsExtend.html index 13e840afa..1b89cb51e 100644 --- a/types/IsExtend.html +++ b/types/IsExtend.html @@ -1 +1 @@ -IsExtend | type-plus - v8.0.0-beta.6

    Type Alias IsExtend<A, B, Then, Else>

    IsExtend<A, B, Then, Else>: A extends B
        ? Then
        : Else

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    +IsExtend | type-plus - v8.0.0-beta.6

    Type Alias IsExtend<A, B, Then, Else>

    IsExtend<A, B, Then, Else>: A extends B
        ? Then
        : Else

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    diff --git a/types/IsFalse-1.html b/types/IsFalse-1.html index b93fa262d..d2c500ac7 100644 --- a/types/IsFalse-1.html +++ b/types/IsFalse-1.html @@ -18,4 +18,4 @@
    type R = IsFalse<false, $SelectionBranch> // $Then
    type R = IsFalse<boolean, $SelectionBranch> // $Then | $Else
    type R = IsFalse<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsFalse._.html b/types/IsFalse._.html index d11d6605b..8266ca38f 100644 --- a/types/IsFalse._.html +++ b/types/IsFalse._.html @@ -2,4 +2,4 @@

    Validate if T is false.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsFalse._Branch.html b/types/IsFalse._Branch.html index 2b39cfb34..489a6a7bf 100644 --- a/types/IsFalse._Branch.html +++ b/types/IsFalse._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsFalse._Options.html b/types/IsFalse._Options.html index 0aa89b490..1c566ac90 100644 --- a/types/IsFalse._Options.html +++ b/types/IsFalse._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsFalse._UtilOptions.html b/types/IsFalse._UtilOptions.html index 9cad11d91..c12b9f3d2 100644 --- a/types/IsFalse._UtilOptions.html +++ b/types/IsFalse._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsFunction-1.html b/types/IsFunction-1.html index 3dae86d4b..236f88f4f 100644 --- a/types/IsFunction-1.html +++ b/types/IsFunction-1.html @@ -18,4 +18,4 @@
    type R = IsFunction<Function, $SelectionBranch> // $Then
    type R = IsFunction<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsFunction._Branch.html b/types/IsFunction._Branch.html index d8a66eccc..567bbcd74 100644 --- a/types/IsFunction._Branch.html +++ b/types/IsFunction._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsFunction._Default.html b/types/IsFunction._Default.html index 9b00d1a40..ea128a191 100644 --- a/types/IsFunction._Default.html +++ b/types/IsFunction._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    +$Default | type-plus - v8.0.0-beta.6
    diff --git a/types/IsFunction._Options.html b/types/IsFunction._Options.html index 320d5a6e6..3d71de324 100644 --- a/types/IsFunction._Options.html +++ b/types/IsFunction._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsLiteral.html b/types/IsLiteral.html index 89c2eb979..8667a7c7b 100644 --- a/types/IsLiteral.html +++ b/types/IsLiteral.html @@ -3,4 +3,4 @@

    Type Parameters

    • T extends
          | number
          | boolean
          | bigint
          | string
          | symbol
    • Then = true
    • Else = false
    type R = IsLiteral<string> // false
    type R = IsLiteral<number> // false
    type R = IsLiteral<boolean> // false
    type R = IsLiteral<bigint> // false
    type R = IsLiteral<symbol> // false

    type R = IsLiteral<'a'> // true
    type R = IsLiteral<1> // true
    type R = IsLiteral<true> // true
    type R = IsLiteral<1n> // true
    type R = IsLiteral<typeof someSymbol> // true
    -
    +
    diff --git a/types/IsLooseArray.html b/types/IsLooseArray.html index a082128af..99d0b1658 100644 --- a/types/IsLooseArray.html +++ b/types/IsLooseArray.html @@ -3,4 +3,4 @@

    Type Parameters

    • T
    • Then = true
    • Else = false
    type R = IsLooseArray<number[]> // true
    type R = IsLooseArray<[1]> // true

    type R = IsLooseArray<number> // false
    -
    +
    diff --git a/types/IsNever-1.html b/types/IsNever-1.html index c05919450..b5446efcd 100644 --- a/types/IsNever-1.html +++ b/types/IsNever-1.html @@ -16,4 +16,4 @@
    type R = IsNever<never, $SelectionBranch> // $Then
    type R = IsNever<1, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNever._Branch.html b/types/IsNever._Branch.html index b611cac3b..e2223c1d3 100644 --- a/types/IsNever._Branch.html +++ b/types/IsNever._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNever._O.html b/types/IsNever._O.html index f62220f05..de04f0a0e 100644 --- a/types/IsNever._O.html +++ b/types/IsNever._O.html @@ -1 +1 @@ -_O | type-plus - v8.0.0-beta.6

    Type Alias _O<$O>

    _O<$O>: "$else" extends keyof $O
        ? $O
        : $O["selection"] extends "filter"
            ? $O & {
                $else: $NotNever;
            }
            : $O

    Type Parameters

    +_O | type-plus - v8.0.0-beta.6

    Type Alias _O<$O>

    _O<$O>: "$else" extends keyof $O
        ? $O
        : $O["selection"] extends "filter"
            ? $O & {
                $else: $NotNever;
            }
            : $O

    Type Parameters

    diff --git a/types/IsNever._Options.html b/types/IsNever._Options.html index 9334f2043..dca2c7e12 100644 --- a/types/IsNever._Options.html +++ b/types/IsNever._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotAny-1.html b/types/IsNotAny-1.html index 2e74e2da7..8a1a18d24 100644 --- a/types/IsNotAny-1.html +++ b/types/IsNotAny-1.html @@ -13,4 +13,4 @@
    type R = IsNotAny<any, $SelectionBranch> // $Else
    type R = IsNotAny<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotAny._Branch.html b/types/IsNotAny._Branch.html index f35baa29b..6e54d34f1 100644 --- a/types/IsNotAny._Branch.html +++ b/types/IsNotAny._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotAny._Options.html b/types/IsNotAny._Options.html index a9208dd2a..266b521aa 100644 --- a/types/IsNotAny._Options.html +++ b/types/IsNotAny._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotArray-1.html b/types/IsNotArray-1.html index 765fb703b..0da7fd220 100644 --- a/types/IsNotArray-1.html +++ b/types/IsNotArray-1.html @@ -23,4 +23,4 @@
    type R = IsNotArray<number[], IsNotArray.$Branch> // $Else
    type R = IsNotArray<number, IsNotArray.$Branch> // $Then
    -
    +
    diff --git a/types/IsNotArray._.html b/types/IsNotArray._.html index 0f06c4926..61282e47c 100644 --- a/types/IsNotArray._.html +++ b/types/IsNotArray._.html @@ -2,4 +2,4 @@

    Validate if T is not an array.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotArray._Branch.html b/types/IsNotArray._Branch.html index 8e4ec6de5..08cab3621 100644 --- a/types/IsNotArray._Branch.html +++ b/types/IsNotArray._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotArray._Options.html b/types/IsNotArray._Options.html index 45c7e578d..6608b20be 100644 --- a/types/IsNotArray._Options.html +++ b/types/IsNotArray._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotArray._UtilOptions.html b/types/IsNotArray._UtilOptions.html index 08a1b6057..260048dbd 100644 --- a/types/IsNotArray._UtilOptions.html +++ b/types/IsNotArray._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigint-1.html b/types/IsNotBigint-1.html index 7fcc0a03d..82b073ae7 100644 --- a/types/IsNotBigint-1.html +++ b/types/IsNotBigint-1.html @@ -23,4 +23,4 @@
    type R = IsNotBigint<string, $SelectionBranch> // $Then
    type R = IsNotBigint<bigint, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotBigint._.html b/types/IsNotBigint._.html index 10fb216cc..99cad3a37 100644 --- a/types/IsNotBigint._.html +++ b/types/IsNotBigint._.html @@ -2,4 +2,4 @@

    Validate if T is not bigint nor bigint literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotBigint._Branch.html b/types/IsNotBigint._Branch.html index a91afa51c..47dff018d 100644 --- a/types/IsNotBigint._Branch.html +++ b/types/IsNotBigint._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotBigint._Options.html b/types/IsNotBigint._Options.html index 088c5f24e..f75f0f758 100644 --- a/types/IsNotBigint._Options.html +++ b/types/IsNotBigint._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigint._SD.html b/types/IsNotBigint._SD.html index db13c2bf9..458865291 100644 --- a/types/IsNotBigint._SD.html +++ b/types/IsNotBigint._SD.html @@ -1 +1 @@ -_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_SD | type-plus - v8.0.0-beta.6

    Type Alias _SD<T, $O>

    _SD<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBigint._SN.html b/types/IsNotBigint._SN.html index 47699e069..59dcae529 100644 --- a/types/IsNotBigint._SN.html +++ b/types/IsNotBigint._SN.html @@ -1 +1 @@ -_SN | type-plus - v8.0.0-beta.6

    Type Alias _SN<T, $O>

    _SN<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_SN | type-plus - v8.0.0-beta.6

    Type Alias _SN<T, $O>

    _SN<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBigint._UtilOptions.html b/types/IsNotBigint._UtilOptions.html index 7be8e64e3..8c1638b0f 100644 --- a/types/IsNotBigint._UtilOptions.html +++ b/types/IsNotBigint._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigintLiteral-1.html b/types/IsNotBigintLiteral-1.html index a217c58b9..7ae23578b 100644 --- a/types/IsNotBigintLiteral-1.html +++ b/types/IsNotBigintLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsNotBigintLiteral<1n, $SelectionBranch> // $Else
    type R = IsNotBigintLiteral<bigint, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotBigintLiteral._.html b/types/IsNotBigintLiteral._.html index 02b95bff7..c52a4e9b0 100644 --- a/types/IsNotBigintLiteral._.html +++ b/types/IsNotBigintLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is not number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotBigintLiteral._Branch.html b/types/IsNotBigintLiteral._Branch.html index 889b578d8..f0e96323f 100644 --- a/types/IsNotBigintLiteral._Branch.html +++ b/types/IsNotBigintLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigintLiteral._D.html b/types/IsNotBigintLiteral._D.html index 0caea54bd..57c09cb61 100644 --- a/types/IsNotBigintLiteral._D.html +++ b/types/IsNotBigintLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends bigint & infer U
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBigintLiteral._N.html b/types/IsNotBigintLiteral._N.html index 4b8f66254..d1fb471fb 100644 --- a/types/IsNotBigintLiteral._N.html +++ b/types/IsNotBigintLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [bigint & infer U]
        ? U extends bigint
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBigintLiteral._Options.html b/types/IsNotBigintLiteral._Options.html index 082cdb422..2ca483d20 100644 --- a/types/IsNotBigintLiteral._Options.html +++ b/types/IsNotBigintLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBigintLiteral._UtilOptions.html b/types/IsNotBigintLiteral._UtilOptions.html index bf38f3eb6..1d9e1c6fc 100644 --- a/types/IsNotBigintLiteral._UtilOptions.html +++ b/types/IsNotBigintLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBoolean-1.html b/types/IsNotBoolean-1.html index f6d640469..7f522b7f3 100644 --- a/types/IsNotBoolean-1.html +++ b/types/IsNotBoolean-1.html @@ -18,4 +18,4 @@
    type R = IsNotBoolean<boolean, $SelectionBranch> // $Else
    type R = IsNotBoolean<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotBoolean._.html b/types/IsNotBoolean._.html index 96c974eca..fa0658dc6 100644 --- a/types/IsNotBoolean._.html +++ b/types/IsNotBoolean._.html @@ -3,4 +3,4 @@ r This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotBoolean._Branch.html b/types/IsNotBoolean._Branch.html index 598e8881c..078a091f5 100644 --- a/types/IsNotBoolean._Branch.html +++ b/types/IsNotBoolean._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBoolean._D.html b/types/IsNotBoolean._D.html index 7627ffa22..29d381e0c 100644 --- a/types/IsNotBoolean._D.html +++ b/types/IsNotBoolean._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: _DistributeMap<T> extends infer R
        ? ["aBcD" | "AbCd" | "abcd"] extends [R]
            ? $ResolveBranch<Exclude<T, boolean>, $O, [$Then | $Else]>
            : ["aBcD" | "AbCd"] extends [R]
                ? $ResolveBranch<T, $O, [$Else]>
                : ["aBcd" | "Abcd"] extends [R]
                    ? $ResolveBranch<T, $O, [$Else]>
                    : $ResolveBranch<T, $O, [$Then]>
        : never

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: _DistributeMap<T> extends infer R
        ? ["aBcD" | "AbCd" | "abcd"] extends [R]
            ? $ResolveBranch<Exclude<T, boolean>, $O, [$Then | $Else]>
            : ["aBcD" | "AbCd"] extends [R]
                ? $ResolveBranch<T, $O, [$Else]>
                : ["aBcd" | "Abcd"] extends [R]
                    ? $ResolveBranch<T, $O, [$Else]>
                    : $ResolveBranch<T, $O, [$Then]>
        : never

    Type Parameters

    diff --git a/types/IsNotBoolean._N.html b/types/IsNotBoolean._N.html index bd1329ef1..5b3ea97d1 100644 --- a/types/IsNotBoolean._N.html +++ b/types/IsNotBoolean._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [boolean]
        ? [T] extends [true]
            ? $ResolveBranch<T, $O, [$Then]>
            : [T] extends [false]
                ? $ResolveBranch<T, $O, [$Then]>
                : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [boolean]
        ? [T] extends [true]
            ? $ResolveBranch<T, $O, [$Then]>
            : [T] extends [false]
                ? $ResolveBranch<T, $O, [$Then]>
                : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotBoolean._Options.html b/types/IsNotBoolean._Options.html index 35a529ec2..e80c64854 100644 --- a/types/IsNotBoolean._Options.html +++ b/types/IsNotBoolean._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotBoolean._UtilOptions.html b/types/IsNotBoolean._UtilOptions.html index 94e59f201..c03133d0a 100644 --- a/types/IsNotBoolean._UtilOptions.html +++ b/types/IsNotBoolean._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotEqual.html b/types/IsNotEqual.html index 8e7aad5af..f67711126 100644 --- a/types/IsNotEqual.html +++ b/types/IsNotEqual.html @@ -5,4 +5,4 @@

    Note that intersection type checks only works at first level. It cannot be check recursively, or else will run into infinite recursion if the type includes recursive types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotExtend.html b/types/IsNotExtend.html index 8870689f0..1108ba232 100644 --- a/types/IsNotExtend.html +++ b/types/IsNotExtend.html @@ -1 +1 @@ -IsNotExtend | type-plus - v8.0.0-beta.6

    Type Alias IsNotExtend<A, B, Then, Else>

    IsNotExtend<A, B, Then, Else>: A extends B
        ? Else
        : Then

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    +IsNotExtend | type-plus - v8.0.0-beta.6

    Type Alias IsNotExtend<A, B, Then, Else>

    IsNotExtend<A, B, Then, Else>: A extends B
        ? Else
        : Then

    Type Parameters

    • A
    • B
    • Then = true
    • Else = false
    diff --git a/types/IsNotFalse-1.html b/types/IsNotFalse-1.html index 846f8f098..8da81bfd6 100644 --- a/types/IsNotFalse-1.html +++ b/types/IsNotFalse-1.html @@ -18,4 +18,4 @@
    type R = IsNotFalse<false, $SelectionBranch> // $Else
    type R = IsNotFalse<boolean, $SelectionBranch> // $Then | $Else
    type R = IsNotFalse<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotFalse._.html b/types/IsNotFalse._.html index fcf55887d..fdc89fbaf 100644 --- a/types/IsNotFalse._.html +++ b/types/IsNotFalse._.html @@ -2,4 +2,4 @@

    Validate if T is not false.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotFalse._Branch.html b/types/IsNotFalse._Branch.html index 44fe7d811..938445f36 100644 --- a/types/IsNotFalse._Branch.html +++ b/types/IsNotFalse._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotFalse._Options.html b/types/IsNotFalse._Options.html index 36745889a..e7a256752 100644 --- a/types/IsNotFalse._Options.html +++ b/types/IsNotFalse._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotFalse._UtilOptions.html b/types/IsNotFalse._UtilOptions.html index 86c0e0763..a69229857 100644 --- a/types/IsNotFalse._UtilOptions.html +++ b/types/IsNotFalse._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotFunction-1.html b/types/IsNotFunction-1.html index 384466bcd..89d2f4f98 100644 --- a/types/IsNotFunction-1.html +++ b/types/IsNotFunction-1.html @@ -18,4 +18,4 @@
    type R = IsNotFunction<Function, $SelectionBranch> // $Then
    type R = IsNotFunction<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotFunction._Branch.html b/types/IsNotFunction._Branch.html index 112cab9d6..f81edc8e9 100644 --- a/types/IsNotFunction._Branch.html +++ b/types/IsNotFunction._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvert.$Branch
    +$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvert.$Branch
    diff --git a/types/IsNotFunction._Default.html b/types/IsNotFunction._Default.html index 17771311e..5f483d6d1 100644 --- a/types/IsNotFunction._Default.html +++ b/types/IsNotFunction._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvert.$Default
    +$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvert.$Default
    diff --git a/types/IsNotFunction._Options.html b/types/IsNotFunction._Options.html index e9d3e1fc1..381757c6d 100644 --- a/types/IsNotFunction._Options.html +++ b/types/IsNotFunction._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvert.$Options
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvert.$Options
    diff --git a/types/IsNotLooseArray.html b/types/IsNotLooseArray.html index 88b3a413a..81030b489 100644 --- a/types/IsNotLooseArray.html +++ b/types/IsNotLooseArray.html @@ -3,4 +3,4 @@

    Type Parameters

    type R = IsNotLooseArray<number[]> // false
    type R = IsNotLooseArray<[1]> // false

    type R = IsNotLooseArray<number> // true
    -
    +
    diff --git a/types/IsNotNever-1.html b/types/IsNotNever-1.html index 7d27d0395..90d039746 100644 --- a/types/IsNotNever-1.html +++ b/types/IsNotNever-1.html @@ -16,4 +16,4 @@
    type R = IsNotNever<never, $SelectionBranch> // $Else
    type R = IsNotNever<1, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotNever._Branch.html b/types/IsNotNever._Branch.html index f61d32d3d..4442ade49 100644 --- a/types/IsNotNever._Branch.html +++ b/types/IsNotNever._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNever._O.html b/types/IsNotNever._O.html index aa222524c..4d2581ec9 100644 --- a/types/IsNotNever._O.html +++ b/types/IsNotNever._O.html @@ -1 +1 @@ -_O | type-plus - v8.0.0-beta.6

    Type Alias _O<$O>

    _O<$O>: "$else" extends keyof $O
        ? $O
        : $O["selection"] extends "filter"
            ? $O & {
                $else: $Never;
            }
            : $O

    Type Parameters

    +_O | type-plus - v8.0.0-beta.6

    Type Alias _O<$O>

    _O<$O>: "$else" extends keyof $O
        ? $O
        : $O["selection"] extends "filter"
            ? $O & {
                $else: $Never;
            }
            : $O

    Type Parameters

    diff --git a/types/IsNotNever._Options.html b/types/IsNotNever._Options.html index d235d8105..dd86ee319 100644 --- a/types/IsNotNever._Options.html +++ b/types/IsNotNever._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNull-1.html b/types/IsNotNull-1.html index 05697a931..9750005ff 100644 --- a/types/IsNotNull-1.html +++ b/types/IsNotNull-1.html @@ -18,4 +18,4 @@
    type R = IsNotNull<string, $SelectionBranch> // $Then
    type R = IsNotNull<null, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotNull._.html b/types/IsNotNull._.html index c10cefc3a..53a96f4e0 100644 --- a/types/IsNotNull._.html +++ b/types/IsNotNull._.html @@ -2,4 +2,4 @@

    Validate if T is not null.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotNull._Branch.html b/types/IsNotNull._Branch.html index b8af763eb..8e91c256b 100644 --- a/types/IsNotNull._Branch.html +++ b/types/IsNotNull._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotNull._Options.html b/types/IsNotNull._Options.html index d8cb4cb28..71957ea25 100644 --- a/types/IsNotNull._Options.html +++ b/types/IsNotNull._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNull._UtilOptions.html b/types/IsNotNull._UtilOptions.html index c0ce8d6c7..b90a623f3 100644 --- a/types/IsNotNull._UtilOptions.html +++ b/types/IsNotNull._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNumberLiteral-1.html b/types/IsNotNumberLiteral-1.html index f679ad907..06331e500 100644 --- a/types/IsNotNumberLiteral-1.html +++ b/types/IsNotNumberLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsNotNumberLiteral<1, $SelectionBranch> // $Else
    type R = IsNotNumberLiteral<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotNumberLiteral._.html b/types/IsNotNumberLiteral._.html index d40b3f22a..b56b40c82 100644 --- a/types/IsNotNumberLiteral._.html +++ b/types/IsNotNumberLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is not number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotNumberLiteral._Branch.html b/types/IsNotNumberLiteral._Branch.html index ef1d40aed..2da98b8ff 100644 --- a/types/IsNotNumberLiteral._Branch.html +++ b/types/IsNotNumberLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNumberLiteral._D.html b/types/IsNotNumberLiteral._D.html index aee528519..1b4bcf81c 100644 --- a/types/IsNotNumberLiteral._D.html +++ b/types/IsNotNumberLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotNumberLiteral._N.html b/types/IsNotNumberLiteral._N.html index fda0c84bd..e66b4bb42 100644 --- a/types/IsNotNumberLiteral._N.html +++ b/types/IsNotNumberLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotNumberLiteral._Options.html b/types/IsNotNumberLiteral._Options.html index 104d70afb..47282231c 100644 --- a/types/IsNotNumberLiteral._Options.html +++ b/types/IsNotNumberLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotNumberLiteral._UtilOptions.html b/types/IsNotNumberLiteral._UtilOptions.html index 859b7d929..6e4156960 100644 --- a/types/IsNotNumberLiteral._UtilOptions.html +++ b/types/IsNotNumberLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotObject-1.html b/types/IsNotObject-1.html index 580595349..7213d85c1 100644 --- a/types/IsNotObject-1.html +++ b/types/IsNotObject-1.html @@ -24,4 +24,4 @@
    type R = IsNotObject<{}, $SelectionBranch> // $Else
    type R = IsNotObject<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotObject._.html b/types/IsNotObject._.html index 888221759..3209dbe41 100644 --- a/types/IsNotObject._.html +++ b/types/IsNotObject._.html @@ -2,4 +2,4 @@

    Validate if T is object or object literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotObject._Branch.html b/types/IsNotObject._Branch.html index cdc802a4e..eadbf9cbd 100644 --- a/types/IsNotObject._Branch.html +++ b/types/IsNotObject._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotObject._D.html b/types/IsNotObject._D.html index b7bc35a73..f15da32a5 100644 --- a/types/IsNotObject._D.html +++ b/types/IsNotObject._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends object
        ? IdentityEqual<T, {}, $ResolveBranch<T, $O, [$Then]>, IsNever<keyof T, {
            $else: $ResolveBranch<T, $O, [$Then]>;
            $then: $ResolveBranch<T, $O, [$Else]>;
        }>>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends object
        ? IdentityEqual<T, {}, $ResolveBranch<T, $O, [$Then]>, IsNever<keyof T, {
            $else: $ResolveBranch<T, $O, [$Then]>;
            $then: $ResolveBranch<T, $O, [$Else]>;
        }>>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotObject._N.html b/types/IsNotObject._N.html index 504b376a3..c36b98359 100644 --- a/types/IsNotObject._N.html +++ b/types/IsNotObject._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [object & infer U]
        ? U extends object
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [object & infer U]
        ? U extends object
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotObject._Options.html b/types/IsNotObject._Options.html index 38dd9e2cf..2cf57a45f 100644 --- a/types/IsNotObject._Options.html +++ b/types/IsNotObject._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotObject._UtilOptions.html b/types/IsNotObject._UtilOptions.html index 12cc920d1..8af11d53f 100644 --- a/types/IsNotObject._UtilOptions.html +++ b/types/IsNotObject._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotStrictFunction-1.html b/types/IsNotStrictFunction-1.html index 66896e827..6f3ef7376 100644 --- a/types/IsNotStrictFunction-1.html +++ b/types/IsNotStrictFunction-1.html @@ -2,4 +2,4 @@
    type R = IsNotStrictFunction<Function> // false

    type R = IsNotStrictFunction<() => void> // true
    type R = IsNotStrictFunction<(() => void) & { a: 1 }> // true
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotStrictFunction._Branch.html b/types/IsNotStrictFunction._Branch.html index 60210e92a..ae90167c0 100644 --- a/types/IsNotStrictFunction._Branch.html +++ b/types/IsNotStrictFunction._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvertStrict.$Branch
    +$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvertStrict.$Branch
    diff --git a/types/IsNotStrictFunction._D.html b/types/IsNotStrictFunction._D.html index ad7ed5b3d..173df880a 100644 --- a/types/IsNotStrictFunction._D.html +++ b/types/IsNotStrictFunction._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends Function
        ? $ResolveBranch<T, $O, [T extends ((...args: any[]) => any)
            ? $Then
            : $Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends Function
        ? $ResolveBranch<T, $O, [T extends ((...args: any[]) => any)
            ? $Then
            : $Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStrictFunction._Default.html b/types/IsNotStrictFunction._Default.html index 37fa1fdfc..171555f9c 100644 --- a/types/IsNotStrictFunction._Default.html +++ b/types/IsNotStrictFunction._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvertStrict.$Default
    +$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvertStrict.$Default
    diff --git a/types/IsNotStrictFunction._Options.html b/types/IsNotStrictFunction._Options.html index 3a2f6a65f..2b6675bec 100644 --- a/types/IsNotStrictFunction._Options.html +++ b/types/IsNotStrictFunction._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvertStrict.$Options
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvertStrict.$Options
    diff --git a/types/IsNotString-1.html b/types/IsNotString-1.html index 52ae24664..6772d0bdb 100644 --- a/types/IsNotString-1.html +++ b/types/IsNotString-1.html @@ -18,4 +18,4 @@
    type R = IsNotString<string, $IsNotString.$Branch> // $Else
    type R = IsNotString<bigint, $IsNotString.$Branch> // $Then
    -
    +
    diff --git a/types/IsNotString._.html b/types/IsNotString._.html index 48c2a829c..a56e7920d 100644 --- a/types/IsNotString._.html +++ b/types/IsNotString._.html @@ -2,4 +2,4 @@

    Validate if T is not string nor string literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotString._Branch.html b/types/IsNotString._Branch.html index 750f25c06..6dbad291a 100644 --- a/types/IsNotString._Branch.html +++ b/types/IsNotString._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotString._D.html b/types/IsNotString._D.html index b30868e7f..c3ea8308b 100644 --- a/types/IsNotString._D.html +++ b/types/IsNotString._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? U extends string
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? U extends string
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotString._N.html b/types/IsNotString._N.html index 507ff85c0..645d86dd6 100644 --- a/types/IsNotString._N.html +++ b/types/IsNotString._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? U extends string
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? U extends string
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotString._Options.html b/types/IsNotString._Options.html index a4b14cff0..41ee918d4 100644 --- a/types/IsNotString._Options.html +++ b/types/IsNotString._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotString._UtilOptions.html b/types/IsNotString._UtilOptions.html index 299cf2987..a37139249 100644 --- a/types/IsNotString._UtilOptions.html +++ b/types/IsNotString._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotStringLiteral-1.html b/types/IsNotStringLiteral-1.html index 28e175ed0..b94b043ce 100644 --- a/types/IsNotStringLiteral-1.html +++ b/types/IsNotStringLiteral-1.html @@ -23,4 +23,4 @@
    type R = IsNotStringLiteral<'abc', $IsNotStringLiteral.$Branch> // $Else
    type R = IsNotStringLiteral<string, $IsNotStringLiteral.$Branch> // $Then
    -
    +
    diff --git a/types/IsNotStringLiteral._.html b/types/IsNotStringLiteral._.html index 8d23b6bbf..58914c37b 100644 --- a/types/IsNotStringLiteral._.html +++ b/types/IsNotStringLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is string literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotStringLiteral._Branch.html b/types/IsNotStringLiteral._Branch.html index b70daf4e3..79baa17b5 100644 --- a/types/IsNotStringLiteral._Branch.html +++ b/types/IsNotStringLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotStringLiteral._D.html b/types/IsNotStringLiteral._D.html index bd0838099..9ff95be35 100644 --- a/types/IsNotStringLiteral._D.html +++ b/types/IsNotStringLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? IsNotStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? IsNotStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._E.html b/types/IsNotStringLiteral._E.html index 652dd03bb..7e66b1b51 100644 --- a/types/IsNotStringLiteral._E.html +++ b/types/IsNotStringLiteral._E.html @@ -1 +1 @@ -_E | type-plus - v8.0.0-beta.6

    Type Alias _E<T, $O>

    _E<T, $O>: T extends string
        ? _StringType<T> extends infer R
            ? R extends "stringLiteral"
                ? $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
            : never
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_E | type-plus - v8.0.0-beta.6

    Type Alias _E<T, $O>

    _E<T, $O>: T extends string
        ? _StringType<T> extends infer R
            ? R extends "stringLiteral"
                ? $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
            : never
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._ED.html b/types/IsNotStringLiteral._ED.html index bf4c44eda..231adf769 100644 --- a/types/IsNotStringLiteral._ED.html +++ b/types/IsNotStringLiteral._ED.html @@ -1 +1 @@ -_ED | type-plus - v8.0.0-beta.6

    Type Alias _ED<T, $O>

    _ED<T, $O>: T extends string
        ? IsNotStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_ED | type-plus - v8.0.0-beta.6

    Type Alias _ED<T, $O>

    _ED<T, $O>: T extends string
        ? IsNotStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._EN.html b/types/IsNotStringLiteral._EN.html index 73eb51f15..eda40827b 100644 --- a/types/IsNotStringLiteral._EN.html +++ b/types/IsNotStringLiteral._EN.html @@ -1 +1 @@ -_EN | type-plus - v8.0.0-beta.6

    Type Alias _EN<T, $O>

    _EN<T, $O>: [T] extends [string]
        ? IsNotStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_EN | type-plus - v8.0.0-beta.6

    Type Alias _EN<T, $O>

    _EN<T, $O>: [T] extends [string]
        ? IsNotStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._N.html b/types/IsNotStringLiteral._N.html index 67065bfdd..3f0a4d778 100644 --- a/types/IsNotStringLiteral._N.html +++ b/types/IsNotStringLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? IsNotStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? IsNotStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._Options.html b/types/IsNotStringLiteral._Options.html index 98b32e9f5..d84d7fd98 100644 --- a/types/IsNotStringLiteral._Options.html +++ b/types/IsNotStringLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotStringLiteral._U.html b/types/IsNotStringLiteral._U.html index 9e41f3aa6..0038b3fe3 100644 --- a/types/IsNotStringLiteral._U.html +++ b/types/IsNotStringLiteral._U.html @@ -1 +1 @@ -_U | type-plus - v8.0.0-beta.6

    Type Alias _U<T, U, $O>

    _U<T, U, $O>: U extends `${any}`
        ? $ResolveBranch<T, $O, [$Else]>
        : U extends Uppercase<infer N>
            ? IsNotStringLiteral._D<N, $O>
            : U extends Lowercase<infer N>
                ? IsNotStringLiteral._D<N, $O>
                : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_U | type-plus - v8.0.0-beta.6

    Type Alias _U<T, U, $O>

    _U<T, U, $O>: U extends `${any}`
        ? $ResolveBranch<T, $O, [$Else]>
        : U extends Uppercase<infer N>
            ? IsNotStringLiteral._D<N, $O>
            : U extends Lowercase<infer N>
                ? IsNotStringLiteral._D<N, $O>
                : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/IsNotStringLiteral._UtilOptions.html b/types/IsNotStringLiteral._UtilOptions.html index a81c28232..bfdf6fbea 100644 --- a/types/IsNotStringLiteral._UtilOptions.html +++ b/types/IsNotStringLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotSymbol-1.html b/types/IsNotSymbol-1.html index 68933eadc..a65fcc950 100644 --- a/types/IsNotSymbol-1.html +++ b/types/IsNotSymbol-1.html @@ -18,4 +18,4 @@
    type R = IsNotSymbol<string, $SelectionBranch> // $Then
    type R = IsNotSymbol<symbol, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotSymbol._.html b/types/IsNotSymbol._.html index cbe045d9b..a71363ffb 100644 --- a/types/IsNotSymbol._.html +++ b/types/IsNotSymbol._.html @@ -2,4 +2,4 @@

    Validate if T is null.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotSymbol._Branch.html b/types/IsNotSymbol._Branch.html index baa1df3f7..bffb78050 100644 --- a/types/IsNotSymbol._Branch.html +++ b/types/IsNotSymbol._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotSymbol._Options.html b/types/IsNotSymbol._Options.html index 5ca44cb3d..6af63b394 100644 --- a/types/IsNotSymbol._Options.html +++ b/types/IsNotSymbol._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotSymbol._UtilOptions.html b/types/IsNotSymbol._UtilOptions.html index 150d9ab54..c273a29fb 100644 --- a/types/IsNotSymbol._UtilOptions.html +++ b/types/IsNotSymbol._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTemplateLiteral-1.html b/types/IsNotTemplateLiteral-1.html index 211d2c28e..a21efe7b5 100644 --- a/types/IsNotTemplateLiteral-1.html +++ b/types/IsNotTemplateLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsNotTemplateLiteral<`${number}`, $IsNotTemplateLiteral.$Branch> // $Else
    type R = IsNotTemplateLiteral<bigint, $IsString.$Branch> // $Then
    -
    +
    diff --git a/types/IsNotTemplateLiteral._.html b/types/IsNotTemplateLiteral._.html index c78b7db0d..1004c51fc 100644 --- a/types/IsNotTemplateLiteral._.html +++ b/types/IsNotTemplateLiteral._.html @@ -1 +1 @@ -$ | type-plus - v8.0.0-beta.6
    $<T, $O>: $IsDistributive<$O, {
        $else: _N<T, $O>;
        $then: _D<T, $O>;
    }>

    Type Parameters

    +$ | type-plus - v8.0.0-beta.6
    $<T, $O>: $IsDistributive<$O, {
        $else: _N<T, $O>;
        $then: _D<T, $O>;
    }>

    Type Parameters

    diff --git a/types/IsNotTemplateLiteral._Branch.html b/types/IsNotTemplateLiteral._Branch.html index 433990398..2e315edb8 100644 --- a/types/IsNotTemplateLiteral._Branch.html +++ b/types/IsNotTemplateLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTemplateLiteral._Options.html b/types/IsNotTemplateLiteral._Options.html index 19e19dd2e..6ffa1aabd 100644 --- a/types/IsNotTemplateLiteral._Options.html +++ b/types/IsNotTemplateLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTemplateLiteral._UtilOptions.html b/types/IsNotTemplateLiteral._UtilOptions.html index 231cbcf81..96cd9aeb2 100644 --- a/types/IsNotTemplateLiteral._UtilOptions.html +++ b/types/IsNotTemplateLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTrue-1.html b/types/IsNotTrue-1.html index 9279a2d8d..4da2e63ad 100644 --- a/types/IsNotTrue-1.html +++ b/types/IsNotTrue-1.html @@ -18,4 +18,4 @@
    type R = IsNotTrue<true, $SelectionBranch> // $Else
    type R = IsNotTrue<boolean, $SelectionBranch> // $Then | $Else
    type R = IsNotTrue<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotTrue._.html b/types/IsNotTrue._.html index 1f58a7368..f6f469512 100644 --- a/types/IsNotTrue._.html +++ b/types/IsNotTrue._.html @@ -2,4 +2,4 @@

    Validate if T is not true.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotTrue._Branch.html b/types/IsNotTrue._Branch.html index b3c3d1888..e4a05ff5c 100644 --- a/types/IsNotTrue._Branch.html +++ b/types/IsNotTrue._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotTrue._Options.html b/types/IsNotTrue._Options.html index 4a0c646ec..483650ebf 100644 --- a/types/IsNotTrue._Options.html +++ b/types/IsNotTrue._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTrue._UtilOptions.html b/types/IsNotTrue._UtilOptions.html index 5c8238c14..00186dfa2 100644 --- a/types/IsNotTrue._UtilOptions.html +++ b/types/IsNotTrue._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTuple-1.html b/types/IsNotTuple-1.html index a35a3f16d..1e8c5933a 100644 --- a/types/IsNotTuple-1.html +++ b/types/IsNotTuple-1.html @@ -18,4 +18,4 @@
    type R = IsNotTuple<bigint, IsNotTuple.$Branch> // $Then
    type R = IsNotTuple<[], IsNotTuple.$Branch> // $Else
    -
    +
    diff --git a/types/IsNotTuple._.html b/types/IsNotTuple._.html index f6507a2da..70de2d4e0 100644 --- a/types/IsNotTuple._.html +++ b/types/IsNotTuple._.html @@ -2,4 +2,4 @@

    Validate if T is bigint or bigint literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotTuple._Branch.html b/types/IsNotTuple._Branch.html index c09553e2e..1a4cfcac7 100644 --- a/types/IsNotTuple._Branch.html +++ b/types/IsNotTuple._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotTuple._Options.html b/types/IsNotTuple._Options.html index 4a97ea2b4..386dd5758 100644 --- a/types/IsNotTuple._Options.html +++ b/types/IsNotTuple._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotTuple._UtilOptions.html b/types/IsNotTuple._UtilOptions.html index 83843c7f1..a75c2aa90 100644 --- a/types/IsNotTuple._UtilOptions.html +++ b/types/IsNotTuple._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUndefined-1.html b/types/IsNotUndefined-1.html index 3474811b3..56298cf70 100644 --- a/types/IsNotUndefined-1.html +++ b/types/IsNotUndefined-1.html @@ -18,4 +18,4 @@
    type R = IsNotUndefined<string, $SelectionBranch> // $Then
    type R = IsNotUndefined<undefined, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNotUndefined._.html b/types/IsNotUndefined._.html index 97999c24a..e8d30329a 100644 --- a/types/IsNotUndefined._.html +++ b/types/IsNotUndefined._.html @@ -2,4 +2,4 @@

    Validate if T is undefined.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotUndefined._Branch.html b/types/IsNotUndefined._Branch.html index dec9a1000..07a63bd25 100644 --- a/types/IsNotUndefined._Branch.html +++ b/types/IsNotUndefined._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUndefined._Options.html b/types/IsNotUndefined._Options.html index 286e797b9..452ef016f 100644 --- a/types/IsNotUndefined._Options.html +++ b/types/IsNotUndefined._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUndefined._UtilOptions.html b/types/IsNotUndefined._UtilOptions.html index b7af7cdc1..b563407bc 100644 --- a/types/IsNotUndefined._UtilOptions.html +++ b/types/IsNotUndefined._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUnknown-1.html b/types/IsNotUnknown-1.html index b5545bb0e..332b47fd5 100644 --- a/types/IsNotUnknown-1.html +++ b/types/IsNotUnknown-1.html @@ -13,4 +13,4 @@
    type R = IsNotUnknown<unknown, $SelectionBranch> // $Else
    type R = IsNotUnknown<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotUnknown._Branch.html b/types/IsNotUnknown._Branch.html index b3f1439e4..0818c3843 100644 --- a/types/IsNotUnknown._Branch.html +++ b/types/IsNotUnknown._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotUnknown._Options.html b/types/IsNotUnknown._Options.html index 3d93ae999..a5b0041fb 100644 --- a/types/IsNotUnknown._Options.html +++ b/types/IsNotUnknown._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotVoid-1.html b/types/IsNotVoid-1.html index f3ae5c7e2..a07652bde 100644 --- a/types/IsNotVoid-1.html +++ b/types/IsNotVoid-1.html @@ -18,4 +18,4 @@
    type R = IsNotVoid<void, $SelectionBranch> // $Else
    type R = IsNotVoid<string, $SelectionBranch> // $Then
    -
    +
    diff --git a/types/IsNotVoid._.html b/types/IsNotVoid._.html index 179a184b8..6e8fac348 100644 --- a/types/IsNotVoid._.html +++ b/types/IsNotVoid._.html @@ -2,4 +2,4 @@

    Validate if T is undefined.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNotVoid._Branch.html b/types/IsNotVoid._Branch.html index dfed1cdea..81fe9e7bc 100644 --- a/types/IsNotVoid._Branch.html +++ b/types/IsNotVoid._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNotVoid._Options.html b/types/IsNotVoid._Options.html index 825849383..3c8db4e71 100644 --- a/types/IsNotVoid._Options.html +++ b/types/IsNotVoid._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNotVoid._UtilOptions.html b/types/IsNotVoid._UtilOptions.html index 44ccdcd70..9b8c31ffa 100644 --- a/types/IsNotVoid._UtilOptions.html +++ b/types/IsNotVoid._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNull-1.html b/types/IsNull-1.html index a00d4b90e..5660ce2e2 100644 --- a/types/IsNull-1.html +++ b/types/IsNull-1.html @@ -18,4 +18,4 @@
    type R = IsNull<null, $SelectionBranch> // $Then
    type R = IsNull<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNull._.html b/types/IsNull._.html index 46034b5d8..1ec2208a8 100644 --- a/types/IsNull._.html +++ b/types/IsNull._.html @@ -2,4 +2,4 @@

    Validate if T is null.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNull._Branch.html b/types/IsNull._Branch.html index abf2f73a2..95665bfb9 100644 --- a/types/IsNull._Branch.html +++ b/types/IsNull._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsNull._Options.html b/types/IsNull._Options.html index b537e0b8e..6e91e09df 100644 --- a/types/IsNull._Options.html +++ b/types/IsNull._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNull._UtilOptions.html b/types/IsNull._UtilOptions.html index b66e7556c..f293ee55a 100644 --- a/types/IsNull._UtilOptions.html +++ b/types/IsNull._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNumberLiteral-1.html b/types/IsNumberLiteral-1.html index 5751a12dd..2ceeb51f1 100644 --- a/types/IsNumberLiteral-1.html +++ b/types/IsNumberLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsNumberLiteral<1, $SelectionBranch> // $Then
    type R = IsNumberLiteral<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsNumberLiteral._.html b/types/IsNumberLiteral._.html index 9021d6e6f..32eaf8353 100644 --- a/types/IsNumberLiteral._.html +++ b/types/IsNumberLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsNumberLiteral._Branch.html b/types/IsNumberLiteral._Branch.html index f2578d510..e8b51332b 100644 --- a/types/IsNumberLiteral._Branch.html +++ b/types/IsNumberLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNumberLiteral._D.html b/types/IsNumberLiteral._D.html index 6bb1cc8c8..8539b4f75 100644 --- a/types/IsNumberLiteral._D.html +++ b/types/IsNumberLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsNumberLiteral._N.html b/types/IsNumberLiteral._N.html index 00da810f5..50dc1aaa6 100644 --- a/types/IsNumberLiteral._N.html +++ b/types/IsNumberLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsNumberLiteral._Options.html b/types/IsNumberLiteral._Options.html index 4e921a33e..18a0f6e26 100644 --- a/types/IsNumberLiteral._Options.html +++ b/types/IsNumberLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsNumberLiteral._UtilOptions.html b/types/IsNumberLiteral._UtilOptions.html index 58bfb4129..196cf78ea 100644 --- a/types/IsNumberLiteral._UtilOptions.html +++ b/types/IsNumberLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsObject-1.html b/types/IsObject-1.html index e6df51138..a065254f1 100644 --- a/types/IsObject-1.html +++ b/types/IsObject-1.html @@ -24,4 +24,4 @@
    type R = IsObject<{}, $SelectionBranch> // $Then
    type R = IsObject<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsObject._.html b/types/IsObject._.html index 5e45f2e56..5631b1f56 100644 --- a/types/IsObject._.html +++ b/types/IsObject._.html @@ -2,4 +2,4 @@

    Validate if T is object or object literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsObject._Branch.html b/types/IsObject._Branch.html index af43e4709..c96257d3d 100644 --- a/types/IsObject._Branch.html +++ b/types/IsObject._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsObject._D.html b/types/IsObject._D.html index e597491a3..60ddbdcae 100644 --- a/types/IsObject._D.html +++ b/types/IsObject._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends object
        ? IdentityEqual<T, {}, $ResolveBranch<T, $O, [$Else]>, IsNever<keyof T, {
            $else: $ResolveBranch<T, $O, [$Else]>;
            $then: $ResolveBranch<T, $O, [$Then]>;
        }>>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends object
        ? IdentityEqual<T, {}, $ResolveBranch<T, $O, [$Else]>, IsNever<keyof T, {
            $else: $ResolveBranch<T, $O, [$Else]>;
            $then: $ResolveBranch<T, $O, [$Then]>;
        }>>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsObject._N.html b/types/IsObject._N.html index 231347dba..cdf3ff890 100644 --- a/types/IsObject._N.html +++ b/types/IsObject._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [object & infer U]
        ? U extends object
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [object & infer U]
        ? U extends object
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsObject._Options.html b/types/IsObject._Options.html index 68a24d6a6..8227ce516 100644 --- a/types/IsObject._Options.html +++ b/types/IsObject._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsObject._UtilOptions.html b/types/IsObject._UtilOptions.html index 9e6da7be1..10a61e55d 100644 --- a/types/IsObject._UtilOptions.html +++ b/types/IsObject._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    diff --git a/types/IsOptionalKey.html b/types/IsOptionalKey.html index 86f1278df..f3404dec0 100644 --- a/types/IsOptionalKey.html +++ b/types/IsOptionalKey.html @@ -3,4 +3,4 @@

    Type Parameters

    IsOptionalKey({ a: 1 }, 'a') // false
    IsOptionalKey({ a?: 1 }, 'a') // true
    -
    +
    diff --git a/types/IsRecord.html b/types/IsRecord.html index f014b9c71..c99c8712e 100644 --- a/types/IsRecord.html +++ b/types/IsRecord.html @@ -1 +1 @@ -IsRecord | type-plus - v8.0.0-beta.6

    Type Alias IsRecord<T>

    IsRecord<T>: T extends any[]
        ? false
        : T extends Record<any, any>
            ? true
            : false

    Type Parameters

    • T
    +IsRecord | type-plus - v8.0.0-beta.6

    Type Alias IsRecord<T>

    IsRecord<T>: T extends any[]
        ? false
        : T extends Record<any, any>
            ? true
            : false

    Type Parameters

    • T
    diff --git a/types/IsStrictFunction-1.html b/types/IsStrictFunction-1.html index d1d45ea99..3bdfcff97 100644 --- a/types/IsStrictFunction-1.html +++ b/types/IsStrictFunction-1.html @@ -2,4 +2,4 @@
    type R = IsStrictFunction<Function> // true

    type R = IsStrictFunction<() => void> // false
    type R = IsStrictFunction<(() => void) & { a: 1 }> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsStrictFunction._Branch.html b/types/IsStrictFunction._Branch.html index aa5abeabc..9bc01db16 100644 --- a/types/IsStrictFunction._Branch.html +++ b/types/IsStrictFunction._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectStrict.$Branch
    +$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectStrict.$Branch
    diff --git a/types/IsStrictFunction._D.html b/types/IsStrictFunction._D.html index 1743282dd..33c0ad597 100644 --- a/types/IsStrictFunction._D.html +++ b/types/IsStrictFunction._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends Function
        ? T extends ((...args: any[]) => any)
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    • T
    • $O extends $SelectStrict.$Options
    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends Function
        ? T extends ((...args: any[]) => any)
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    • T
    • $O extends $SelectStrict.$Options
    diff --git a/types/IsStrictFunction._Default.html b/types/IsStrictFunction._Default.html index 52c9e09e3..d79611fe1 100644 --- a/types/IsStrictFunction._Default.html +++ b/types/IsStrictFunction._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectStrict.$Default
    +$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectStrict.$Default
    diff --git a/types/IsStrictFunction._Options.html b/types/IsStrictFunction._Options.html index 1da64d6c2..28536ef5a 100644 --- a/types/IsStrictFunction._Options.html +++ b/types/IsStrictFunction._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectStrict.$Options
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectStrict.$Options
    diff --git a/types/IsString-1.html b/types/IsString-1.html index 8272d3145..0eaf90b7b 100644 --- a/types/IsString-1.html +++ b/types/IsString-1.html @@ -18,4 +18,4 @@
    type R = IsString<string, $IsString.$Branch> // $Then
    type R = IsString<bigint, $IsString.$Branch> // $Else
    -
    +
    diff --git a/types/IsString._.html b/types/IsString._.html index 195e153bb..1962288dd 100644 --- a/types/IsString._.html +++ b/types/IsString._.html @@ -2,4 +2,4 @@

    Validate if T is string or string literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsString._Branch.html b/types/IsString._Branch.html index 3a5406415..38766f3eb 100644 --- a/types/IsString._Branch.html +++ b/types/IsString._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsString._D.html b/types/IsString._D.html index 29d7c8858..7b7e38772 100644 --- a/types/IsString._D.html +++ b/types/IsString._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? U extends string
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? U extends string
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsString._N.html b/types/IsString._N.html index 368de0587..5b96a2439 100644 --- a/types/IsString._N.html +++ b/types/IsString._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? U extends string
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? U extends string
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsString._Options.html b/types/IsString._Options.html index 4551a38f7..8370d36e6 100644 --- a/types/IsString._Options.html +++ b/types/IsString._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsString._UtilOptions.html b/types/IsString._UtilOptions.html index d9455fa1d..9be4abcee 100644 --- a/types/IsString._UtilOptions.html +++ b/types/IsString._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    diff --git a/types/IsStringLiteral-1.html b/types/IsStringLiteral-1.html index 4ae1861e9..13fdcf721 100644 --- a/types/IsStringLiteral-1.html +++ b/types/IsStringLiteral-1.html @@ -23,4 +23,4 @@
    type R = IsStringLiteral<'abc', $IsStringLiteral.$Branch> // $Then
    type R = IsStringLiteral<string, $IsStringLiteral.$Branch> // $Else
    -
    +
    diff --git a/types/IsStringLiteral._.html b/types/IsStringLiteral._.html index 034709b60..949f3c7e1 100644 --- a/types/IsStringLiteral._.html +++ b/types/IsStringLiteral._.html @@ -2,4 +2,4 @@

    Validate if T is string literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsStringLiteral._Branch.html b/types/IsStringLiteral._Branch.html index 1ca921cb7..872fef9c8 100644 --- a/types/IsStringLiteral._Branch.html +++ b/types/IsStringLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsStringLiteral._D.html b/types/IsStringLiteral._D.html index c57b90847..2ccb44acd 100644 --- a/types/IsStringLiteral._D.html +++ b/types/IsStringLiteral._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? IsStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends string & infer U
        ? IsStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._E.html b/types/IsStringLiteral._E.html index 3f4b19272..8c3065621 100644 --- a/types/IsStringLiteral._E.html +++ b/types/IsStringLiteral._E.html @@ -1 +1 @@ -_E | type-plus - v8.0.0-beta.6

    Type Alias _E<T, $O>

    _E<T, $O>: T extends string
        ? _StringType<T> extends infer R
            ? R extends "stringLiteral"
                ? $ResolveBranch<T, $O, [$Then]>
                : $ResolveBranch<T, $O, [$Else]>
            : never
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_E | type-plus - v8.0.0-beta.6

    Type Alias _E<T, $O>

    _E<T, $O>: T extends string
        ? _StringType<T> extends infer R
            ? R extends "stringLiteral"
                ? $ResolveBranch<T, $O, [$Then]>
                : $ResolveBranch<T, $O, [$Else]>
            : never
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._ED.html b/types/IsStringLiteral._ED.html index 6efd3f992..0b7caf2b2 100644 --- a/types/IsStringLiteral._ED.html +++ b/types/IsStringLiteral._ED.html @@ -1 +1 @@ -_ED | type-plus - v8.0.0-beta.6

    Type Alias _ED<T, $O>

    _ED<T, $O>: T extends string
        ? IsStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_ED | type-plus - v8.0.0-beta.6

    Type Alias _ED<T, $O>

    _ED<T, $O>: T extends string
        ? IsStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._EN.html b/types/IsStringLiteral._EN.html index 56bd21ac7..9a54a2cb1 100644 --- a/types/IsStringLiteral._EN.html +++ b/types/IsStringLiteral._EN.html @@ -1 +1 @@ -_EN | type-plus - v8.0.0-beta.6

    Type Alias _EN<T, $O>

    _EN<T, $O>: [T] extends [string]
        ? IsStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_EN | type-plus - v8.0.0-beta.6

    Type Alias _EN<T, $O>

    _EN<T, $O>: [T] extends [string]
        ? IsStringLiteral._E<T, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._N.html b/types/IsStringLiteral._N.html index 310247de2..ae0d2856f 100644 --- a/types/IsStringLiteral._N.html +++ b/types/IsStringLiteral._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? IsStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [string & infer U]
        ? IsStringLiteral._U<T, U, $O>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._Options.html b/types/IsStringLiteral._Options.html index a7db8ac80..e9c737718 100644 --- a/types/IsStringLiteral._Options.html +++ b/types/IsStringLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsStringLiteral._U.html b/types/IsStringLiteral._U.html index ac4a0686a..c088580da 100644 --- a/types/IsStringLiteral._U.html +++ b/types/IsStringLiteral._U.html @@ -1 +1 @@ -_U | type-plus - v8.0.0-beta.6

    Type Alias _U<T, U, $O>

    _U<T, U, $O>: U extends `${any}`
        ? $ResolveBranch<T, $O, [$Then]>
        : U extends Uppercase<infer N>
            ? IsStringLiteral._D<N, $O>
            : U extends Lowercase<infer N>
                ? IsStringLiteral._D<N, $O>
                : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_U | type-plus - v8.0.0-beta.6

    Type Alias _U<T, U, $O>

    _U<T, U, $O>: U extends `${any}`
        ? $ResolveBranch<T, $O, [$Then]>
        : U extends Uppercase<infer N>
            ? IsStringLiteral._D<N, $O>
            : U extends Lowercase<infer N>
                ? IsStringLiteral._D<N, $O>
                : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/IsStringLiteral._UtilOptions.html b/types/IsStringLiteral._UtilOptions.html index b4d108b50..10fa0d8f0 100644 --- a/types/IsStringLiteral._UtilOptions.html +++ b/types/IsStringLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsSymbol-1.html b/types/IsSymbol-1.html index 6165d1e0e..7e9778e33 100644 --- a/types/IsSymbol-1.html +++ b/types/IsSymbol-1.html @@ -18,4 +18,4 @@
    type R = IsSymbol<symbol, $SelectionBranch> // $Then
    type R = IsSymbol<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsSymbol._.html b/types/IsSymbol._.html index 6b70fa028..3df7bc4ab 100644 --- a/types/IsSymbol._.html +++ b/types/IsSymbol._.html @@ -2,4 +2,4 @@

    Validate if T is symbol.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsSymbol._Branch.html b/types/IsSymbol._Branch.html index 92f14e4b4..3dab086d3 100644 --- a/types/IsSymbol._Branch.html +++ b/types/IsSymbol._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsSymbol._Options.html b/types/IsSymbol._Options.html index e2bbdcf90..80c6b940e 100644 --- a/types/IsSymbol._Options.html +++ b/types/IsSymbol._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsSymbol._UtilOptions.html b/types/IsSymbol._UtilOptions.html index e7451f03b..534fe544e 100644 --- a/types/IsSymbol._UtilOptions.html +++ b/types/IsSymbol._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTemplateLiteral-1.html b/types/IsTemplateLiteral-1.html index f43d0dd34..d9277d555 100644 --- a/types/IsTemplateLiteral-1.html +++ b/types/IsTemplateLiteral-1.html @@ -18,4 +18,4 @@
    type R = IsTemplateLiteral<`${number}`, $IsTemplateLiteral.$Branch> // $Then
    type R = IsTemplateLiteral<bigint, $IsString.$Branch> // $Else
    -
    +
    diff --git a/types/IsTemplateLiteral._.html b/types/IsTemplateLiteral._.html index bd7c7ed94..aac24c579 100644 --- a/types/IsTemplateLiteral._.html +++ b/types/IsTemplateLiteral._.html @@ -1 +1 @@ -$ | type-plus - v8.0.0-beta.6

    Type Alias $<T, $O>

    $<T, $O>: $IsDistributive<$O, {
        $else: _N<T, $O>;
        $then: _D<T, $O>;
    }>

    Type Parameters

    +$ | type-plus - v8.0.0-beta.6

    Type Alias $<T, $O>

    $<T, $O>: $IsDistributive<$O, {
        $else: _N<T, $O>;
        $then: _D<T, $O>;
    }>

    Type Parameters

    diff --git a/types/IsTemplateLiteral._Branch.html b/types/IsTemplateLiteral._Branch.html index 02eb2b0a6..3645f8c51 100644 --- a/types/IsTemplateLiteral._Branch.html +++ b/types/IsTemplateLiteral._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTemplateLiteral._Options.html b/types/IsTemplateLiteral._Options.html index ec51873fb..cfa120dda 100644 --- a/types/IsTemplateLiteral._Options.html +++ b/types/IsTemplateLiteral._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTemplateLiteral._UtilOptions.html b/types/IsTemplateLiteral._UtilOptions.html index e58cd08a9..175497065 100644 --- a/types/IsTemplateLiteral._UtilOptions.html +++ b/types/IsTemplateLiteral._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTrue-1.html b/types/IsTrue-1.html index 1e6ca9cc5..cb73eaa1c 100644 --- a/types/IsTrue-1.html +++ b/types/IsTrue-1.html @@ -18,4 +18,4 @@
    type R = IsTrue<true, $SelectionBranch> // $Then
    type R = IsTrue<boolean, $SelectionBranch> // $Then | $Else
    type R = IsTrue<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsTrue._.html b/types/IsTrue._.html index 5888ca1ae..78fa7a3b6 100644 --- a/types/IsTrue._.html +++ b/types/IsTrue._.html @@ -2,4 +2,4 @@

    Validate if T is true.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsTrue._Branch.html b/types/IsTrue._Branch.html index 2d3e939b8..81c88a342 100644 --- a/types/IsTrue._Branch.html +++ b/types/IsTrue._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsTrue._Options.html b/types/IsTrue._Options.html index e57df05fe..0536ffa13 100644 --- a/types/IsTrue._Options.html +++ b/types/IsTrue._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTrue._UtilOptions.html b/types/IsTrue._UtilOptions.html index 3e9ed8927..0827c126f 100644 --- a/types/IsTrue._UtilOptions.html +++ b/types/IsTrue._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTuple-1.html b/types/IsTuple-1.html index 91743cf10..6521cc3d5 100644 --- a/types/IsTuple-1.html +++ b/types/IsTuple-1.html @@ -18,4 +18,4 @@
    type R = IsTuple<[], IsTuple.$Branch> // $Then
    type R = IsTuple<string, IsTuple.$Branch> // $Else
    -
    +
    diff --git a/types/IsTuple._.html b/types/IsTuple._.html index 0dac9b312..6f3c53643 100644 --- a/types/IsTuple._.html +++ b/types/IsTuple._.html @@ -2,4 +2,4 @@

    Validate if T is tuple.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsTuple._Branch.html b/types/IsTuple._Branch.html index cc47830b3..a5e5593e4 100644 --- a/types/IsTuple._Branch.html +++ b/types/IsTuple._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsTuple._Options.html b/types/IsTuple._Options.html index 1bc1d19ad..e25052df9 100644 --- a/types/IsTuple._Options.html +++ b/types/IsTuple._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsTuple._UtilOptions.html b/types/IsTuple._UtilOptions.html index a1ebe67e9..bd9c7fec2 100644 --- a/types/IsTuple._UtilOptions.html +++ b/types/IsTuple._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsUndefined-1.html b/types/IsUndefined-1.html index fb5041592..2166de350 100644 --- a/types/IsUndefined-1.html +++ b/types/IsUndefined-1.html @@ -18,4 +18,4 @@
    type R = IsUndefined<undefined, $SelectionBranch> // $Then
    type R = IsUndefined<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsUndefined._.html b/types/IsUndefined._.html index d850bd467..ffc91993a 100644 --- a/types/IsUndefined._.html +++ b/types/IsUndefined._.html @@ -2,4 +2,4 @@

    Validate if T is undefined.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsUndefined._Branch.html b/types/IsUndefined._Branch.html index a7142da3a..2a9d9da74 100644 --- a/types/IsUndefined._Branch.html +++ b/types/IsUndefined._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsUndefined._Options.html b/types/IsUndefined._Options.html index 78fa04e64..6c60a0840 100644 --- a/types/IsUndefined._Options.html +++ b/types/IsUndefined._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsUndefined._UtilOptions.html b/types/IsUndefined._UtilOptions.html index 1818c7eb5..fda157ed1 100644 --- a/types/IsUndefined._UtilOptions.html +++ b/types/IsUndefined._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/IsUnion.html b/types/IsUnion.html index 3930b31bf..0416ec02c 100644 --- a/types/IsUnion.html +++ b/types/IsUnion.html @@ -5,4 +5,4 @@
    type R = IsUnion<'a' | 'b'> // true
    type R = IsUnion<boolean> // true
    type R = IsUnion<number> // false
    -
    +
    diff --git a/types/IsUnknown-1.html b/types/IsUnknown-1.html index 13fd16227..4cc3b8e94 100644 --- a/types/IsUnknown-1.html +++ b/types/IsUnknown-1.html @@ -13,4 +13,4 @@
    type R = IsUnknown<unknown, $SelectionBranch> // $Then
    type R = IsUnknown<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsUnknown._Branch.html b/types/IsUnknown._Branch.html index 7e4bbf80e..c1797e4bc 100644 --- a/types/IsUnknown._Branch.html +++ b/types/IsUnknown._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/IsUnknown._Options.html b/types/IsUnknown._Options.html index c0646686e..09c39d80f 100644 --- a/types/IsUnknown._Options.html +++ b/types/IsUnknown._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsVoid-1.html b/types/IsVoid-1.html index b6c52eff2..f7440bb1a 100644 --- a/types/IsVoid-1.html +++ b/types/IsVoid-1.html @@ -18,4 +18,4 @@
    type R = IsVoid<void, $SelectionBranch> // $Then
    type R = IsVoid<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/IsVoid._.html b/types/IsVoid._.html index ae164fce9..bb953bfa6 100644 --- a/types/IsVoid._.html +++ b/types/IsVoid._.html @@ -2,4 +2,4 @@

    Validate if T is undefined.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/IsVoid._Branch.html b/types/IsVoid._Branch.html index ec24c4ce2..12ea47ba0 100644 --- a/types/IsVoid._Branch.html +++ b/types/IsVoid._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/IsVoid._Options.html b/types/IsVoid._Options.html index 9e03f79f2..f1a7188b1 100644 --- a/types/IsVoid._Options.html +++ b/types/IsVoid._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/IsVoid._UtilOptions.html b/types/IsVoid._UtilOptions.html index 48d711f0d..a9b2550c7 100644 --- a/types/IsVoid._UtilOptions.html +++ b/types/IsVoid._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    +$UtilOptions | type-plus - v8.0.0-beta.6
    diff --git a/types/JSONArray.html b/types/JSONArray.html index aaa41ff9c..b33c8610e 100644 --- a/types/JSONArray.html +++ b/types/JSONArray.html @@ -1 +1 @@ -JSONArray | type-plus - v8.0.0-beta.6

    Type Alias JSONArray

    JSONArray: JSONTypes[]
    +JSONArray | type-plus - v8.0.0-beta.6

    Type Alias JSONArray

    JSONArray: JSONTypes[]
    diff --git a/types/JSONObject.html b/types/JSONObject.html index 3aaf29cc2..17c48a6e3 100644 --- a/types/JSONObject.html +++ b/types/JSONObject.html @@ -1 +1 @@ -JSONObject | type-plus - v8.0.0-beta.6

    Type Alias JSONObject

    JSONObject: {
        [key in string]?: JSONTypes
    }
    +JSONObject | type-plus - v8.0.0-beta.6

    Type Alias JSONObject

    JSONObject: {
        [key in string]?: JSONTypes
    }
    diff --git a/types/JSONPrimitive.html b/types/JSONPrimitive.html index 5032c880c..fdb3246b7 100644 --- a/types/JSONPrimitive.html +++ b/types/JSONPrimitive.html @@ -1 +1 @@ -JSONPrimitive | type-plus - v8.0.0-beta.6

    Type Alias JSONPrimitive

    JSONPrimitive:
        | boolean
        | number
        | string
        | null
    +JSONPrimitive | type-plus - v8.0.0-beta.6

    Type Alias JSONPrimitive

    JSONPrimitive:
        | boolean
        | number
        | string
        | null
    diff --git a/types/JSONTypes.html b/types/JSONTypes.html index 2162de55f..45ae1e78a 100644 --- a/types/JSONTypes.html +++ b/types/JSONTypes.html @@ -1 +1 @@ -JSONTypes | type-plus - v8.0.0-beta.6
    +JSONTypes | type-plus - v8.0.0-beta.6
    diff --git a/types/KeepMatch.html b/types/KeepMatch.html index d6e041fe2..479ec4c69 100644 --- a/types/KeepMatch.html +++ b/types/KeepMatch.html @@ -5,4 +5,4 @@
    type R = KeepMatch<[1, 2, 3], number> // [1, 2]
    type R = KeepMatch<Array<string|undefined>, string> // string[]
    -
    +
    diff --git a/types/KeyTypes.html b/types/KeyTypes.html index 4f57998ff..72bf4be7d 100644 --- a/types/KeyTypes.html +++ b/types/KeyTypes.html @@ -1,4 +1,4 @@ KeyTypes | type-plus - v8.0.0-beta.6

    Type Alias KeyTypes

    KeyTypes: keyof any

    Type of all keys. To get the keys of an object or array, use the keyof keyword. This is just a convenient type as keyof any is not obvious.

    -
    +
    diff --git a/types/KeysOfOptional.html b/types/KeysOfOptional.html index e820325da..d9381b924 100644 --- a/types/KeysOfOptional.html +++ b/types/KeysOfOptional.html @@ -1 +1 @@ -KeysOfOptional | type-plus - v8.0.0-beta.6

    Type Alias KeysOfOptional<T>

    KeysOfOptional<T>: T extends Record<infer U, any>
        ? U
        : never

    Type Parameters

    • T
    +KeysOfOptional | type-plus - v8.0.0-beta.6

    Type Alias KeysOfOptional<T>

    KeysOfOptional<T>: T extends Record<infer U, any>
        ? U
        : never

    Type Parameters

    • T
    diff --git a/types/KeysWithDiffType.html b/types/KeysWithDiffType.html index 782e86825..bb3aa9aa3 100644 --- a/types/KeysWithDiffType.html +++ b/types/KeysWithDiffType.html @@ -1 +1 @@ -KeysWithDiffType | type-plus - v8.0.0-beta.6

    Type Alias KeysWithDiffType<A, B>

    KeysWithDiffType<A, B>: IsDisjoint<A, B> extends true
        ? never
        : ValueOf<{
            [k in keyof A & keyof B]: A[k] extends B[k]
                ? never
                : k
        }>

    Type Parameters

    +KeysWithDiffType | type-plus - v8.0.0-beta.6

    Type Alias KeysWithDiffType<A, B>

    KeysWithDiffType<A, B>: IsDisjoint<A, B> extends true
        ? never
        : ValueOf<{
            [k in keyof A & keyof B]: A[k] extends B[k]
                ? never
                : k
        }>

    Type Parameters

    diff --git a/types/KnownKeys.html b/types/KnownKeys.html index ddf039c64..14218b31d 100644 --- a/types/KnownKeys.html +++ b/types/KnownKeys.html @@ -1 +1 @@ -KnownKeys | type-plus - v8.0.0-beta.6

    Type Alias KnownKeys<T>

    KnownKeys<T>: T extends PrimitiveTypes
        ? never
        : {
                [K in keyof T]: string extends K
                    ? never
                    : number extends K
                        ? never
                        : K
            } extends {
                [_ in keyof T]: infer U
            }
            ? {} extends U
                ? never
                : U
            : never

    Type Parameters

    • T
    +KnownKeys | type-plus - v8.0.0-beta.6

    Type Alias KnownKeys<T>

    KnownKeys<T>: T extends PrimitiveTypes
        ? never
        : {
                [K in keyof T]: string extends K
                    ? never
                    : number extends K
                        ? never
                        : K
            } extends {
                [_ in keyof T]: infer U
            }
            ? {} extends U
                ? never
                : U
            : never

    Type Parameters

    • T
    diff --git a/types/Last-1.html b/types/Last-1.html index d2ff5aab3..b5ccd3bd8 100644 --- a/types/Last-1.html +++ b/types/Last-1.html @@ -7,4 +7,4 @@ Default to never.

    Return type when T is []. Default to never.

    -
    +
    diff --git a/types/LeftJoin.html b/types/LeftJoin.html index 19a7b5940..0b5c4bfe9 100644 --- a/types/LeftJoin.html +++ b/types/LeftJoin.html @@ -1 +1 @@ -LeftJoin | type-plus - v8.0.0-beta.6

    Type Alias LeftJoin<A, B>

    LeftJoin<A, B>: IsEqual<A, B> extends true
        ? A
        : IsDisjoint<A, B> extends true
            ? A & B
            : Properties<{
                [k in Exclude<keyof A, keyof B>]: A[k]
            } & {
                [k in keyof B]: B[k]
            }>

    Type Parameters

    +LeftJoin | type-plus - v8.0.0-beta.6

    Type Alias LeftJoin<A, B>

    LeftJoin<A, B>: IsEqual<A, B> extends true
        ? A
        : IsDisjoint<A, B> extends true
            ? A & B
            : Properties<{
                [k in Exclude<keyof A, keyof B>]: A[k]
            } & {
                [k in keyof B]: B[k]
            }>

    Type Parameters

    diff --git a/types/LooseArrayType.html b/types/LooseArrayType.html index 90036a6d2..869ef65d2 100644 --- a/types/LooseArrayType.html +++ b/types/LooseArrayType.html @@ -5,4 +5,4 @@

    Type Parameters

    type R = LooseArrayType<number[]> // number[]
    type R = LooseArrayType<[1]> // [1]
    type R = LooseArrayType<number[] | 1> // number[]
    type R = LooseArrayType<number[] & 1> // number[]s

    type R = LooseArrayType<string> // never
    -
    +
    diff --git a/types/MapToProp.html b/types/MapToProp.html index 374177d1e..80650bbf2 100644 --- a/types/MapToProp.html +++ b/types/MapToProp.html @@ -1,3 +1,3 @@ MapToProp | type-plus - v8.0.0-beta.6

    Type Alias MapToProp<A, P>

    MapToProp<A, P>: IntersectOfProps<A, P>

    Gets the intersect of properties of the elements in A This will be deprecated in 4.0. Please use IntersectOfProps instead.

    -

    Type Parameters

    • A extends Record<any, any>[]
    • P extends KeyTypes
    +

    Type Parameters

    diff --git a/types/MathPlus.ToNegative.html b/types/MathPlus.ToNegative.html index 189965c1d..9f7082ee6 100644 --- a/types/MathPlus.ToNegative.html +++ b/types/MathPlus.ToNegative.html @@ -3,4 +3,4 @@

    Type Parameters

    ToNegative<5> // -5
    ToNegative<0> // 0
    ToNegative<-5> // -5
    -
    +
    diff --git a/types/Max.html b/types/Max.html index f6358b07f..fdebf93cd 100644 --- a/types/Max.html +++ b/types/Max.html @@ -1 +1 @@ -Max | type-plus - v8.0.0-beta.6

    Type Alias Max<A, B, Fail>

    Max<A, B, Fail>: GreaterThan<A, B> extends infer Result
        ? IsNever<Result> extends true
            ? Fail
            : Result extends true
                ? A
                : B
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +Max | type-plus - v8.0.0-beta.6

    Type Alias Max<A, B, Fail>

    Max<A, B, Fail>: GreaterThan<A, B> extends infer Result
        ? IsNever<Result> extends true
            ? Fail
            : Result extends true
                ? A
                : B
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/MaybePromise.html b/types/MaybePromise.html index 0703ee038..c6b97fc56 100644 --- a/types/MaybePromise.html +++ b/types/MaybePromise.html @@ -1,2 +1,2 @@ MaybePromise | type-plus - v8.0.0-beta.6

    Type Alias MaybePromise<T>

    MaybePromise<T>: T | Promise<T>

    T | Promise<T>

    -

    Type Parameters

    • T
    +

    Type Parameters

    diff --git a/types/Merge.html b/types/Merge.html index d612c9cc4..4373749e1 100644 --- a/types/Merge.html +++ b/types/Merge.html @@ -5,4 +5,4 @@

    This is a more general type then ObjectPlus.Merge<A, B>, which constraints A and B to be Record.

    This type does not have such restrictions, and tries to handle the other types accordingly.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/Multiply.html b/types/Multiply.html index 6ca4c7b01..dca9427a3 100644 --- a/types/Multiply.html +++ b/types/Multiply.html @@ -1 +1 @@ -Multiply | type-plus - v8.0.0-beta.6

    Type Alias Multiply<A, B, Fail>

    Multiply<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Multiply<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +Multiply | type-plus - v8.0.0-beta.6

    Type Alias Multiply<A, B, Fail>

    Multiply<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Multiply<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/NoInfer.html b/types/NoInfer.html index f63b2e372..b69cc5e06 100644 --- a/types/NoInfer.html +++ b/types/NoInfer.html @@ -9,4 +9,4 @@

    A build-in NoInfer is coming soon.

    -
    +
    diff --git a/types/NonComposableTypes.html b/types/NonComposableTypes.html index b54d3f6df..c6063288a 100644 --- a/types/NonComposableTypes.html +++ b/types/NonComposableTypes.html @@ -1,2 +1,2 @@ NonComposableTypes | type-plus - v8.0.0-beta.6

    Type Alias NonComposableTypes

    NonComposableTypes:
        | boolean
        | number
        | string
        | symbol
        | bigint
        | undefined
        | null

    Types that cannot contain custom properties.

    -
    +
    diff --git a/types/Not.html b/types/Not.html index 3253c12bd..7ab198a30 100644 --- a/types/Not.html +++ b/types/Not.html @@ -1 +1 @@ -Not | type-plus - v8.0.0-beta.6

    Type Alias Not<X, Then, Else>

    Not<X, Then, Else>: X extends true
        ? Else
        : Then

    Type Parameters

    • X extends boolean
    • Then = true
    • Else = false
    +Not | type-plus - v8.0.0-beta.6

    Type Alias Not<X, Then, Else>

    Not<X, Then, Else>: X extends true
        ? Else
        : Then

    Type Parameters

    • X extends boolean
    • Then = true
    • Else = false
    diff --git a/types/NotAssignable-1.html b/types/NotAssignable-1.html index ebb00ef5b..456c6090a 100644 --- a/types/NotAssignable-1.html +++ b/types/NotAssignable-1.html @@ -18,4 +18,4 @@
    type R = NotAssignable<any, any, { $any: 1 }> // 1
    type R = NotAssignable<unknown, any, { $unknown: 1 }> // 1
    type R = NotAssignable<never, any, { $never: 1 }> // 1
    -
    +
    diff --git a/types/NotAssignable._.html b/types/NotAssignable._.html index 9e9bca3d6..e0b6bcade 100644 --- a/types/NotAssignable._.html +++ b/types/NotAssignable._.html @@ -3,4 +3,4 @@

    This is the internal logic of NotAssignable. It does not check against special types.

    It is suitable for building custom types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NotAssignable._Branch.html b/types/NotAssignable._Branch.html index 733cab9ae..32978a47c 100644 --- a/types/NotAssignable._Branch.html +++ b/types/NotAssignable._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $SelectionBranch & $O

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $SelectionBranch & $O

    Type Parameters

    diff --git a/types/NotAssignable._Default.html b/types/NotAssignable._Default.html index 5da1f8f02..0d733038b 100644 --- a/types/NotAssignable._Default.html +++ b/types/NotAssignable._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    +$Default | type-plus - v8.0.0-beta.6
    diff --git a/types/NotAssignable._Options.html b/types/NotAssignable._Options.html index 0c00dec62..a36e31971 100644 --- a/types/NotAssignable._Options.html +++ b/types/NotAssignable._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NotAssignable._UtilOptions.html b/types/NotAssignable._UtilOptions.html index 9a3afed27..7653f991f 100644 --- a/types/NotAssignable._UtilOptions.html +++ b/types/NotAssignable._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    +$UtilOptions | type-plus - v8.0.0-beta.6

    Type Alias $UtilOptions

    diff --git a/types/NotEqual.html b/types/NotEqual.html index a5942513a..86e3feac5 100644 --- a/types/NotEqual.html +++ b/types/NotEqual.html @@ -4,4 +4,4 @@
    type R = NotEqual<1, 1> // false
    type R = NotEqual<any, any> // false
    type R = NotEqual<boolean, boolean> // false
    type R = NotEqual<true, true> // false
    type R = NotEqual<[1], [1]> // false

    type R = NotEqual<boolean, true> // true
    type R = NotEqual<any, 1> // true
    type R = NotEqual<[any], [1]> // true
    type R = NotEqual<{ a: 1 }, { a: 1; b: 2 }> // true
    -
    +
    diff --git a/types/NotExtendable.html b/types/NotExtendable.html index 942c34e71..986127585 100644 --- a/types/NotExtendable.html +++ b/types/NotExtendable.html @@ -1 +1 @@ -NotExtendable | type-plus - v8.0.0-beta.6

    Type Alias NotExtendable<A, B, Then, Else>

    NotExtendable<A, B, Then, Else>: A extends B
        ? Else
        : Then

    Type Parameters

    • A
    • B
    • Then = A
    • Else = never
    +NotExtendable | type-plus - v8.0.0-beta.6

    Type Alias NotExtendable<A, B, Then, Else>

    NotExtendable<A, B, Then, Else>: A extends B
        ? Else
        : Then

    Type Parameters

    • A
    • B
    • Then = A
    • Else = never
    diff --git a/types/NotLooseArrayType.html b/types/NotLooseArrayType.html index 085a0fbca..5ae49c53c 100644 --- a/types/NotLooseArrayType.html +++ b/types/NotLooseArrayType.html @@ -3,4 +3,4 @@

    Type Parameters

    type R = NotLooseArrayType<number[]> // never
    type R = NotLooseArrayType<[1]> // never

    type R = NotLooseArrayType<number> // number
    -
    +
    diff --git a/types/NotUnknownOr.html b/types/NotUnknownOr.html index 1a92088da..e7cd1cd01 100644 --- a/types/NotUnknownOr.html +++ b/types/NotUnknownOr.html @@ -8,4 +8,4 @@
    type R = NotUnknownOr<unknown, number> // number
     
    -
    +
    diff --git a/types/NumberPlus.IsInteger-1.html b/types/NumberPlus.IsInteger-1.html index cf07c79b0..b5e3ec1a5 100644 --- a/types/NumberPlus.IsInteger-1.html +++ b/types/NumberPlus.IsInteger-1.html @@ -2,4 +2,4 @@
    type R = IsInteger<0> // true
    type R = IsInteger<1n> // true

    type R = IsInteger<1.1> // false
    type R = IsInteger<number> // false as it contains non-integer
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsInteger._Branch.html b/types/NumberPlus.IsInteger._Branch.html index a7b8409b4..5c68f8ba3 100644 --- a/types/NumberPlus.IsInteger._Branch.html +++ b/types/NumberPlus.IsInteger._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/NumberPlus.IsInteger._Options.html b/types/NumberPlus.IsInteger._Options.html index 12e3342a7..7cffc97d3 100644 --- a/types/NumberPlus.IsInteger._Options.html +++ b/types/NumberPlus.IsInteger._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNegative-1.html b/types/NumberPlus.IsNegative-1.html index fb83a708d..af37736b5 100644 --- a/types/NumberPlus.IsNegative-1.html +++ b/types/NumberPlus.IsNegative-1.html @@ -2,4 +2,4 @@
    type R = IsNegative<-1> // true
    type R = IsNegative<-1n> // true

    type R = IsNegative<0> // false
    type R = IsNegative<1> // false

    type R = IsNegative<number> // boolean
    type R = IsNegative<bigint> // boolean
    type R = IsNegative<any> // boolean
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNegative._Branch.html b/types/NumberPlus.IsNegative._Branch.html index c66563042..5b8b45980 100644 --- a/types/NumberPlus.IsNegative._Branch.html +++ b/types/NumberPlus.IsNegative._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/NumberPlus.IsNegative._Negative.html b/types/NumberPlus.IsNegative._Negative.html index a37947752..ea30e31db 100644 --- a/types/NumberPlus.IsNegative._Negative.html +++ b/types/NumberPlus.IsNegative._Negative.html @@ -1 +1 @@ -_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U & infer R
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Then]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : [T, R] extends [R, T]
                    ? $ResolveBranch<T, $O, [$Else]>
                    : $ResolveBranch<number, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    +_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U & infer R
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Then]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : [T, R] extends [R, T]
                    ? $ResolveBranch<T, $O, [$Else]>
                    : $ResolveBranch<number, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    diff --git a/types/NumberPlus.IsNegative._Options.html b/types/NumberPlus.IsNegative._Options.html index 0fcbca603..2bc133875 100644 --- a/types/NumberPlus.IsNegative._Options.html +++ b/types/NumberPlus.IsNegative._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotInteger-1.html b/types/NumberPlus.IsNotInteger-1.html index 075562508..1a83e1010 100644 --- a/types/NumberPlus.IsNotInteger-1.html +++ b/types/NumberPlus.IsNotInteger-1.html @@ -2,4 +2,4 @@
    import type { IsNotInteger } from 'type-plus'

    type R = IsNotInteger<1.1> // true
    type R = IsNotInteger<number> // true as it contains non-integer

    type R = IsNotInteger<0> // false
    type R = IsNotInteger<1n> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotInteger._Branch.html b/types/NumberPlus.IsNotInteger._Branch.html index 0a9de3f6c..60de53f97 100644 --- a/types/NumberPlus.IsNotInteger._Branch.html +++ b/types/NumberPlus.IsNotInteger._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/NumberPlus.IsNotInteger._Options.html b/types/NumberPlus.IsNotInteger._Options.html index 8397785d4..315ba6ba4 100644 --- a/types/NumberPlus.IsNotInteger._Options.html +++ b/types/NumberPlus.IsNotInteger._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotNegative-1.html b/types/NumberPlus.IsNotNegative-1.html index 8fa8ddca4..eb8000de4 100644 --- a/types/NumberPlus.IsNotNegative-1.html +++ b/types/NumberPlus.IsNotNegative-1.html @@ -2,4 +2,4 @@
    type R = IsNotNegative<1> // true
    type R = IsNotNegative<0> // true
    type R = IsNotNegative<1n> // true

    type R = IsNotNegative<-1> // false

    type R = IsNotNegative<number> // boolean
    type R = IsNotNegative<bigint> // boolean
    type R = IsNotNegative<any> // boolean
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNegative._Branch.html b/types/NumberPlus.IsNotNegative._Branch.html index 05b81973e..f7a940a55 100644 --- a/types/NumberPlus.IsNotNegative._Branch.html +++ b/types/NumberPlus.IsNotNegative._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNegative._Negative.html b/types/NumberPlus.IsNotNegative._Negative.html index bb2431377..3862cc7ee 100644 --- a/types/NumberPlus.IsNotNegative._Negative.html +++ b/types/NumberPlus.IsNotNegative._Negative.html @@ -1 +1 @@ -_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Else]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
        : never

    Type Parameters

    +_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Else]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Then]>
        : never

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNegative._Options.html b/types/NumberPlus.IsNotNegative._Options.html index c3ab8b3fb..9bb8c998d 100644 --- a/types/NumberPlus.IsNotNegative._Options.html +++ b/types/NumberPlus.IsNotNegative._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNotNumber-1.html b/types/NumberPlus.IsNotNumber-1.html index 216f74470..e3473bc75 100644 --- a/types/NumberPlus.IsNotNumber-1.html +++ b/types/NumberPlus.IsNotNumber-1.html @@ -18,4 +18,4 @@
    type R = IsNotNumber<string, $SelectionBranch> // $Then
    type R = IsNotNumber<number, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/NumberPlus.IsNotNumber._.html b/types/NumberPlus.IsNotNumber._.html index 92b1afd7b..700809f1d 100644 --- a/types/NumberPlus.IsNotNumber._.html +++ b/types/NumberPlus.IsNotNumber._.html @@ -2,4 +2,4 @@

    Validate if T is not number nor number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNumber._Branch.html b/types/NumberPlus.IsNotNumber._Branch.html index 885f5936b..a02cc5040 100644 --- a/types/NumberPlus.IsNotNumber._Branch.html +++ b/types/NumberPlus.IsNotNumber._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNumber._D.html b/types/NumberPlus.IsNotNumber._D.html index 976da090d..f3741ebf6 100644 --- a/types/NumberPlus.IsNotNumber._D.html +++ b/types/NumberPlus.IsNotNumber._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6
    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6
    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNumber._N.html b/types/NumberPlus.IsNotNumber._N.html index a2b4eab84..ffd2b44f6 100644 --- a/types/NumberPlus.IsNotNumber._N.html +++ b/types/NumberPlus.IsNotNumber._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6
    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6
    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Then]>
            : $ResolveBranch<T, $O, [$Else]>
        : $ResolveBranch<T, $O, [$Then]>

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNumber._Options.html b/types/NumberPlus.IsNotNumber._Options.html index 5ed4fcc4b..c54e1e6f6 100644 --- a/types/NumberPlus.IsNotNumber._Options.html +++ b/types/NumberPlus.IsNotNumber._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $Equality.$Options & $ExactOptions
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $Equality.$Options & $ExactOptions
    diff --git a/types/NumberPlus.IsNotNumber._UtilOptions.html b/types/NumberPlus.IsNotNumber._UtilOptions.html index 4001c8b84..fc7cc66c6 100644 --- a/types/NumberPlus.IsNotNumber._UtilOptions.html +++ b/types/NumberPlus.IsNotNumber._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    $UtilOptions: NotAssignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6
    $UtilOptions: NotAssignable.$UtilOptions & $ExactOptions
    diff --git a/types/NumberPlus.IsNotNumeric-1.html b/types/NumberPlus.IsNotNumeric-1.html index 1fe7d46c9..0c6e3de20 100644 --- a/types/NumberPlus.IsNotNumeric-1.html +++ b/types/NumberPlus.IsNotNumeric-1.html @@ -2,4 +2,4 @@
    type R = IsNotNumeric<1> // false
    type R = IsNotNumeric<1.1> // false

    type R = IsNotNumeric<string> // true
    type R = IsNotNumeric<unknown> // true
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotNumeric._Branch.html b/types/NumberPlus.IsNotNumeric._Branch.html index 66c7b1a61..d18c626c1 100644 --- a/types/NumberPlus.IsNotNumeric._Branch.html +++ b/types/NumberPlus.IsNotNumeric._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvert.$Branch
    +$Branch | type-plus - v8.0.0-beta.6
    $Branch: $SelectInvert.$Branch
    diff --git a/types/NumberPlus.IsNotNumeric._Default.html b/types/NumberPlus.IsNotNumeric._Default.html index 0834883f7..c6adff9ae 100644 --- a/types/NumberPlus.IsNotNumeric._Default.html +++ b/types/NumberPlus.IsNotNumeric._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvert.$Default
    +$Default | type-plus - v8.0.0-beta.6
    $Default: $SelectInvert.$Default
    diff --git a/types/NumberPlus.IsNotNumeric._Options.html b/types/NumberPlus.IsNotNumeric._Options.html index 632b76742..60200c4e4 100644 --- a/types/NumberPlus.IsNotNumeric._Options.html +++ b/types/NumberPlus.IsNotNumeric._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvert.$Options
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $SelectInvert.$Options
    diff --git a/types/NumberPlus.IsNotPositive-1.html b/types/NumberPlus.IsNotPositive-1.html index a43dd7c9c..ac1da46e0 100644 --- a/types/NumberPlus.IsNotPositive-1.html +++ b/types/NumberPlus.IsNotPositive-1.html @@ -2,4 +2,4 @@
    type R = IsNotPositive<-1> // true
    type R = IsNotPositive<-1n> // true

    type R = IsNotPositive<0> // false
    type R = IsNotPositive<1> // false

    type R = IsNotPositive<number> // boolean
    type R = IsNotPositive<bigint> // boolean
    type R = IsNotPositive<any> // boolean
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNotPositive._Branch.html b/types/NumberPlus.IsNotPositive._Branch.html index 266638f8c..daaaf5613 100644 --- a/types/NumberPlus.IsNotPositive._Branch.html +++ b/types/NumberPlus.IsNotPositive._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/NumberPlus.IsNotPositive._Negative.html b/types/NumberPlus.IsNotPositive._Negative.html index bacf4297a..b6713aa15 100644 --- a/types/NumberPlus.IsNotPositive._Negative.html +++ b/types/NumberPlus.IsNotPositive._Negative.html @@ -1 +1 @@ -_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Then]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    +_Negative | type-plus - v8.0.0-beta.6

    Type Alias _Negative<T, U, $O>

    _Negative<T, U, $O>: T extends U
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Then]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    diff --git a/types/NumberPlus.IsNotPositive._Options.html b/types/NumberPlus.IsNotPositive._Options.html index 1ed42346b..0571fbc66 100644 --- a/types/NumberPlus.IsNotPositive._Options.html +++ b/types/NumberPlus.IsNotPositive._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsNumber-1.html b/types/NumberPlus.IsNumber-1.html index f84b75d47..882ca60f3 100644 --- a/types/NumberPlus.IsNumber-1.html +++ b/types/NumberPlus.IsNumber-1.html @@ -18,4 +18,4 @@
    type R = IsNumber<number, $SelectionBranch> // $Then
    type R = IsNumber<string, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/NumberPlus.IsNumber._.html b/types/NumberPlus.IsNumber._.html index 389c19f35..54f996ac9 100644 --- a/types/NumberPlus.IsNumber._.html +++ b/types/NumberPlus.IsNumber._.html @@ -2,4 +2,4 @@

    Validate if T is number or number literals.

    This is a type util for building custom types. It does not check against special types.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNumber._Branch.html b/types/NumberPlus.IsNumber._Branch.html index 6b1a8eaec..b3b0475aa 100644 --- a/types/NumberPlus.IsNumber._Branch.html +++ b/types/NumberPlus.IsNumber._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/NumberPlus.IsNumber._D.html b/types/NumberPlus.IsNumber._D.html index c40978b85..3b2e10d6e 100644 --- a/types/NumberPlus.IsNumber._D.html +++ b/types/NumberPlus.IsNumber._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, $O>

    _D<T, $O>: T extends number & infer U
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/NumberPlus.IsNumber._N.html b/types/NumberPlus.IsNumber._N.html index 07a6a52fd..29ccc18ce 100644 --- a/types/NumberPlus.IsNumber._N.html +++ b/types/NumberPlus.IsNumber._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, $O>

    _N<T, $O>: [T] extends [number & infer U]
        ? U extends number
            ? $ResolveBranch<T, $O, [$Else]>
            : $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/NumberPlus.IsNumber._Options.html b/types/NumberPlus.IsNumber._Options.html index e213a4bda..52e33d71b 100644 --- a/types/NumberPlus.IsNumber._Options.html +++ b/types/NumberPlus.IsNumber._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $Equality.$Options & $ExactOptions
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $Equality.$Options & $ExactOptions
    diff --git a/types/NumberPlus.IsNumber._UtilOptions.html b/types/NumberPlus.IsNumber._UtilOptions.html index 69827bf3a..f5d6d91d3 100644 --- a/types/NumberPlus.IsNumber._UtilOptions.html +++ b/types/NumberPlus.IsNumber._UtilOptions.html @@ -1 +1 @@ -$UtilOptions | type-plus - v8.0.0-beta.6
    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    +$UtilOptions | type-plus - v8.0.0-beta.6
    $UtilOptions: Assignable.$UtilOptions & $ExactOptions
    diff --git a/types/NumberPlus.IsNumeric-1.html b/types/NumberPlus.IsNumeric-1.html index 8787edc74..bbf016795 100644 --- a/types/NumberPlus.IsNumeric-1.html +++ b/types/NumberPlus.IsNumeric-1.html @@ -2,4 +2,4 @@
    type R = IsNumeric<1> // true
    type R = IsNumeric<1.1> // true

    type R = IsNumeric<string> // false
    type R = IsNumeric<unknown> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsNumeric._Branch.html b/types/NumberPlus.IsNumeric._Branch.html index 0cb681f31..f1e907d72 100644 --- a/types/NumberPlus.IsNumeric._Branch.html +++ b/types/NumberPlus.IsNumeric._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch: $Select.$Branch
    +$Branch | type-plus - v8.0.0-beta.6
    $Branch: $Select.$Branch
    diff --git a/types/NumberPlus.IsNumeric._Default.html b/types/NumberPlus.IsNumeric._Default.html index 69b49e50a..a3cf598af 100644 --- a/types/NumberPlus.IsNumeric._Default.html +++ b/types/NumberPlus.IsNumeric._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6
    $Default: $Select.$Default
    +$Default | type-plus - v8.0.0-beta.6
    $Default: $Select.$Default
    diff --git a/types/NumberPlus.IsNumeric._Options.html b/types/NumberPlus.IsNumeric._Options.html index d618fba71..6ee5f7172 100644 --- a/types/NumberPlus.IsNumeric._Options.html +++ b/types/NumberPlus.IsNumeric._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    $Options: $Select.$Options
    +$Options | type-plus - v8.0.0-beta.6
    $Options: $Select.$Options
    diff --git a/types/NumberPlus.IsPositive-1.html b/types/NumberPlus.IsPositive-1.html index 72a99b979..f8bc4b49f 100644 --- a/types/NumberPlus.IsPositive-1.html +++ b/types/NumberPlus.IsPositive-1.html @@ -2,4 +2,4 @@
    type R = IsPositive<1> // true
    type R = IsPositive<0> // true
    type R = IsPositive<1n> // true

    type R = IsPositive<number> // boolean
    type R = IsPositive<bigint> // boolean
    type R = IsPositive<any> // boolean

    type R = IsPositive<-1> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/NumberPlus.IsPositive._Branch.html b/types/NumberPlus.IsPositive._Branch.html index cacbc8f7c..7cf9c9615 100644 --- a/types/NumberPlus.IsPositive._Branch.html +++ b/types/NumberPlus.IsPositive._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6
    $Branch<$O>: $Equality.$Branch<$O>

    Type Parameters

    diff --git a/types/NumberPlus.IsPositive._Options.html b/types/NumberPlus.IsPositive._Options.html index 050816caa..c696f5621 100644 --- a/types/NumberPlus.IsPositive._Options.html +++ b/types/NumberPlus.IsPositive._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/NumberPlus.IsPositive._Positive.html b/types/NumberPlus.IsPositive._Positive.html index 4d9b6c181..0a4f89a5d 100644 --- a/types/NumberPlus.IsPositive._Positive.html +++ b/types/NumberPlus.IsPositive._Positive.html @@ -1 +1 @@ -_Positive | type-plus - v8.0.0-beta.6

    Type Alias _Positive<T, U, $O>

    _Positive<T, U, $O>: T extends U & infer R
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Else]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : [T, R] extends [R, T]
                    ? $ResolveBranch<T, $O, [$Then]>
                    : $ResolveBranch<number, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    +_Positive | type-plus - v8.0.0-beta.6

    Type Alias _Positive<T, U, $O>

    _Positive<T, U, $O>: T extends U & infer R
        ? `${T}` extends `-${string}`
            ? $ResolveBranch<T, $O, [$Else]>
            : U extends T
                ? $ResolveBranch<T, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
                : [T, R] extends [R, T]
                    ? $ResolveBranch<T, $O, [$Then]>
                    : $ResolveBranch<number, $O, [$Then]> | $ResolveBranch<T, $O, [$Else]>
        : never

    Type Parameters

    diff --git a/types/NumberPlus.Numeric.html b/types/NumberPlus.Numeric.html index 1f78680b1..55d0b882d 100644 --- a/types/NumberPlus.Numeric.html +++ b/types/NumberPlus.Numeric.html @@ -1,2 +1,2 @@ Numeric | type-plus - v8.0.0-beta.6

    Type Alias Numeric

    Numeric: number | bigint

    Either number or bigint.

    -
    +
    diff --git a/types/NumberPlus.Zero.html b/types/NumberPlus.Zero.html index 79a3261d5..0438718b0 100644 --- a/types/NumberPlus.Zero.html +++ b/types/NumberPlus.Zero.html @@ -1,2 +1,2 @@ Zero | type-plus - v8.0.0-beta.6
    Zero: 0 | 0n

    The value 0 in number or bigint.

    -
    +
    diff --git a/types/NumericToString.html b/types/NumericToString.html index 8295efd1b..29f00c5ab 100644 --- a/types/NumericToString.html +++ b/types/NumericToString.html @@ -2,4 +2,4 @@
    NumericToString<1> // '1'
    NumericToString<1.23> // '1.23'
    NumericToString<0.00123> // '0.00123'
    NumericToString<1n> // '1n'
    NumericToString<-1> // '-1'
    NumericToString<-1n> // '-1n'
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/ObjectPlus.Merge-1.html b/types/ObjectPlus.Merge-1.html index 792f6ecd8..41f3e3c6f 100644 --- a/types/ObjectPlus.Merge-1.html +++ b/types/ObjectPlus.Merge-1.html @@ -4,4 +4,4 @@

    This type performs the same operations as { ...a, ...b } but at the type level.

    It handles cases like A or B are Record, joining between required and optional props, etc.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/ObjectPlus.Merge.Cases.html b/types/ObjectPlus.Merge.Cases.html index 2b4c385c7..95e45beba 100644 --- a/types/ObjectPlus.Merge.Cases.html +++ b/types/ObjectPlus.Merge.Cases.html @@ -1 +1 @@ -Cases | type-plus - v8.0.0-beta.6
    Cases: {
        $never: $Never;
    }
    +Cases | type-plus - v8.0.0-beta.6
    Cases: {
        $never: $Never;
    }
    diff --git a/types/ObjectPlus.Merge.JoinProps.html b/types/ObjectPlus.Merge.JoinProps.html index b70bbf9a9..4fe65db88 100644 --- a/types/ObjectPlus.Merge.JoinProps.html +++ b/types/ObjectPlus.Merge.JoinProps.html @@ -1 +1 @@ -JoinProps | type-plus - v8.0.0-beta.6

    Type Alias JoinProps<A, B>

    JoinProps<A, B>: A extends NonComposableTypes
        ? B
        : B extends NonComposableTypes
            ? A
            : A & B

    Type Parameters

    • A
    • B
    +JoinProps | type-plus - v8.0.0-beta.6

    Type Alias JoinProps<A, B>

    JoinProps<A, B>: A extends NonComposableTypes
        ? B
        : B extends NonComposableTypes
            ? A
            : A & B

    Type Parameters

    • A
    • B
    diff --git a/types/ObjectPlus.Merge.Options.html b/types/ObjectPlus.Merge.Options.html index 7f300f0d5..33bd140df 100644 --- a/types/ObjectPlus.Merge.Options.html +++ b/types/ObjectPlus.Merge.Options.html @@ -1 +1 @@ -Options | type-plus - v8.0.0-beta.6
    Options: {
        $never?: undefined;
    }
    +Options | type-plus - v8.0.0-beta.6
    Options: {
        $never?: undefined;
    }
    diff --git a/types/Omit.html b/types/Omit.html index 374ab6c26..cee75eed9 100644 --- a/types/Omit.html +++ b/types/Omit.html @@ -2,4 +2,4 @@

    Type Parameters

    typescript#28339

    Titian Cernicova-Dragomir

    type-zoo

    -
    +
    diff --git a/types/OptionalKeys.html b/types/OptionalKeys.html index 406f8681a..3947715a9 100644 --- a/types/OptionalKeys.html +++ b/types/OptionalKeys.html @@ -3,4 +3,4 @@

    Type Parameters

    OptionalKeys<{ a: 1 }> // never
    OptionalKeys<{ a?: 1, b: number }> // 'a'
    -
    +
    diff --git a/types/OptionalProps.html b/types/OptionalProps.html index 4f41514b2..b65e6a5e8 100644 --- a/types/OptionalProps.html +++ b/types/OptionalProps.html @@ -1,2 +1,2 @@ OptionalProps | type-plus - v8.0.0-beta.6

    Type Alias OptionalProps<T>

    OptionalProps<T>: T extends unknown
        ? {
            [k in OptionalKeys<T>]?: T[k]
        }
        : never

    Parse T to keep only the optional properties.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/Or.html b/types/Or.html index a317dc2c5..c5eb1c1e8 100644 --- a/types/Or.html +++ b/types/Or.html @@ -1 +1 @@ -Or | type-plus - v8.0.0-beta.6

    Type Alias Or<A, B, Then, Else>

    Or<A, B, Then, Else>: A extends true
        ? Then
        : B extends true
            ? Then
            : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    +Or | type-plus - v8.0.0-beta.6

    Type Alias Or<A, B, Then, Else>

    Or<A, B, Then, Else>: A extends true
        ? Then
        : B extends true
            ? Then
            : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    diff --git a/types/PadStart.html b/types/PadStart.html index a7c3fe855..5ea0678e8 100644 --- a/types/PadStart.html +++ b/types/PadStart.html @@ -3,4 +3,4 @@

    Type Parameters

    // Padding array
    PadStart<number[], 1, string> // [string, ...number[]]

    // Ignore if the type is compatible
    PadStart<number[], 2, number> // number[]
    PadStart<number[], 3, 1> // number[]

    // Padding tuple
    PadStart<[1, 2, 3], 5, 0> // [0, 0, 1, 2, 3]

    // Ignore if MaxLength is less than the length of the tuple
    PadStart<[1, 2, 3], 5, 0> // [0, 0, 1, 2, 3]

    // Default to unknown
    PadStart<[1, 2, 3], 5> // [unknown, unknown, 1, 2, 3]
    -
    +
    diff --git a/types/Partial.html b/types/Partial.html index a7b312792..acac21e16 100644 --- a/types/Partial.html +++ b/types/Partial.html @@ -1,2 +1,2 @@ Partial | type-plus - v8.0.0-beta.6

    Type Alias Partial<T>

    Partial<T>: {
        [P in keyof T]?: T[P]
    }

    An alternative Partial<T> type that works with exactOptionalPropertyTypes

    -

    Type Parameters

    • T
    +

    Type Parameters

    diff --git a/types/PartialExcept.html b/types/PartialExcept.html index bdab1ad52..94e0fb88b 100644 --- a/types/PartialExcept.html +++ b/types/PartialExcept.html @@ -1,2 +1,2 @@ PartialExcept | type-plus - v8.0.0-beta.6

    Type Alias PartialExcept<T, U>

    PartialExcept<T, U>: T extends T
        ? Pick<T, U> & Partial<Omit<T, U>>
        : never

    Type Parameters

    replaced by PartialOmit

    -
    +
    diff --git a/types/PartialOmit.html b/types/PartialOmit.html index 15edc2cb8..9f767dfa7 100644 --- a/types/PartialOmit.html +++ b/types/PartialOmit.html @@ -1,2 +1,2 @@ PartialOmit | type-plus - v8.0.0-beta.6

    Type Alias PartialOmit<T, U>

    PartialOmit<T, U>: T extends T
        ? Pick<T, U> & Partial<Omit<T, U>>
        : never

    Apply Partial<> on all not selected properties.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/PartialPick.html b/types/PartialPick.html index d39304989..5829ecbec 100644 --- a/types/PartialPick.html +++ b/types/PartialPick.html @@ -1,2 +1,2 @@ PartialPick | type-plus - v8.0.0-beta.6

    Type Alias PartialPick<T, U>

    PartialPick<T, U>: T extends T
        ? Omit<T, U> & Partial<Pick<T, U>>
        : never

    Apply Partial<> on the selected properties.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/Pick-1.html b/types/Pick-1.html index 3e75b392d..837c1a2b4 100644 --- a/types/Pick-1.html +++ b/types/Pick-1.html @@ -2,4 +2,4 @@ Works with union.

    Original type by Titian Cernicova-Dragomir

    Type Parameters

    https://github.com/microsoft/TypeScript/issues/28339#issuecomment-463577347

    -
    +
    diff --git a/types/Pick._.html b/types/Pick._.html index e69c73413..940955a2d 100644 --- a/types/Pick._.html +++ b/types/Pick._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, K>

    _<T, K>: {
        [P in K]: T[P]
    }

    Type Parameters

    • T
    • K extends keyof T
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, K>

    _<T, K>: {
        [P in K]: T[P]
    }

    Type Parameters

    • T
    • K extends keyof T
    diff --git a/types/PrimitiveTypes.html b/types/PrimitiveTypes.html index cfcdb2141..11294afc4 100644 --- a/types/PrimitiveTypes.html +++ b/types/PrimitiveTypes.html @@ -1,2 +1,2 @@ PrimitiveTypes | type-plus - v8.0.0-beta.6

    Type Alias PrimitiveTypes

    PrimitiveTypes:
        | boolean
        | number
        | string
        | object
        | symbol
        | bigint
        | Function
        | undefined
        | null

    📘 Definition of all primitive types.

    -
    +
    diff --git a/types/PromiseValue.html b/types/PromiseValue.html index 50fe6f40c..63b665150 100644 --- a/types/PromiseValue.html +++ b/types/PromiseValue.html @@ -1,3 +1,3 @@ PromiseValue | type-plus - v8.0.0-beta.6

    Type Alias PromiseValue<P>

    PromiseValue<P>: P extends Promise<infer T>
        ? T
        : never

    Gets value type from Promise

    Type Parameters

    • P extends Promise<any>

    Use Awaited<T> instead.

    -
    +
    diff --git a/types/PromiseValueMerge.html b/types/PromiseValueMerge.html index a959c52bc..b6c37de47 100644 --- a/types/PromiseValueMerge.html +++ b/types/PromiseValueMerge.html @@ -1,2 +1,2 @@ PromiseValueMerge | type-plus - v8.0.0-beta.6

    Type Alias PromiseValueMerge<P1, P2, P3, P4, P5, P6, P7, P8, P9>

    PromiseValueMerge<P1, P2, P3, P4, P5, P6, P7, P8, P9>: Promise<Awaited<P1> & Awaited<P2> & Awaited<P3> & Awaited<P4> & Awaited<P5> & Awaited<P6> & Awaited<P7> & Awaited<P8> & Awaited<P9>>

    Merging value types from multiple promises.

    -

    Type Parameters

    • P1 extends Promise<any>
    • P2 extends Promise<any>
    • P3 extends Promise<any> = any
    • P4 extends Promise<any> = any
    • P5 extends Promise<any> = any
    • P6 extends Promise<any> = any
    • P7 extends Promise<any> = any
    • P8 extends Promise<any> = any
    • P9 extends Promise<any> = any
    +

    Type Parameters

    diff --git a/types/PropUnion.html b/types/PropUnion.html index f7c30ebd0..6a31f8a8e 100644 --- a/types/PropUnion.html +++ b/types/PropUnion.html @@ -1,3 +1,3 @@ PropUnion | type-plus - v8.0.0-beta.6

    Type Alias PropUnion<A, P>

    PropUnion<A, P>: UnionOfProps<A, P>

    Gets the union of properties in the element of A This will be deprecated in 4.0. Please use UnionOfProps instead.

    -

    Type Parameters

    • A extends readonly Record<any, any>[]
    • P extends KeyTypes
    +

    Type Parameters

    diff --git a/types/Properties.html b/types/Properties.html index f5c9e2e2d..5d235771a 100644 --- a/types/Properties.html +++ b/types/Properties.html @@ -1,2 +1,2 @@ Properties | type-plus - v8.0.0-beta.6

    Type Alias Properties<T>

    Properties<T>: {
        [k in keyof T]: T[k]
    }

    Gets the properties of an object type.

    -

    Type Parameters

    • T
    +

    Type Parameters

    diff --git a/types/RecordValue.html b/types/RecordValue.html index 1d7ad170d..e81617ada 100644 --- a/types/RecordValue.html +++ b/types/RecordValue.html @@ -1,2 +1,2 @@ RecordValue | type-plus - v8.0.0-beta.6

    Type Alias RecordValue<R>

    RecordValue<R>: R extends Record<any, infer T>
        ? T
        : never

    Gets the value type T from Record<any, T>.

    -

    Type Parameters

    • R extends Record<any, any>
    +

    Type Parameters

    diff --git a/types/RecursiveIntersect.html b/types/RecursiveIntersect.html index bec686685..fb29d919c 100644 --- a/types/RecursiveIntersect.html +++ b/types/RecursiveIntersect.html @@ -6,4 +6,4 @@ NOTE: in latest TypeScript, undefined is not an accepted value. The resulting type would be never

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/RecursivePartial.html b/types/RecursivePartial.html index b86f5b25b..873dee3b6 100644 --- a/types/RecursivePartial.html +++ b/types/RecursivePartial.html @@ -2,4 +2,4 @@

    Type Parameters

    interface Foo {
    bar: number;
    baz: {
    qux: string
    }
    }

    type PartialFoo = RecursivePartial<Foo>
    // {
    // bar?: number | undefined;
    // baz?: {
    // qux?: string | undefined
    // } | undefined
    // }
    -
    +
    diff --git a/types/RecursiveRequired.html b/types/RecursiveRequired.html index f17795fb4..01e6d1b44 100644 --- a/types/RecursiveRequired.html +++ b/types/RecursiveRequired.html @@ -1 +1 @@ -RecursiveRequired | type-plus - v8.0.0-beta.6

    Type Alias RecursiveRequired<T>

    RecursiveRequired<T>: {
        [P in keyof T]-?: T[P] extends (infer U)[]
            ? RecursiveRequired<U>[]
            : T[P] extends AnyRecord
                ? RecursiveRequired<T[P]>
                : T[P]
    }

    Type Parameters

    • T
    +RecursiveRequired | type-plus - v8.0.0-beta.6

    Type Alias RecursiveRequired<T>

    RecursiveRequired<T>: {
        [P in keyof T]-?: T[P] extends (infer U)[]
            ? RecursiveRequired<U>[]
            : T[P] extends AnyRecord
                ? RecursiveRequired<T[P]>
                : T[P]
    }

    Type Parameters

    • T
    diff --git a/types/ReplaceProperty.html b/types/ReplaceProperty.html index f3734f753..6071c40b8 100644 --- a/types/ReplaceProperty.html +++ b/types/ReplaceProperty.html @@ -1 +1 @@ -ReplaceProperty | type-plus - v8.0.0-beta.6

    Type Alias ReplaceProperty<T, K, V>

    ReplaceProperty<T, K, V>: Omit<T, K> & {
        [P in K]: V
    }

    Type Parameters

    +ReplaceProperty | type-plus - v8.0.0-beta.6

    Type Alias ReplaceProperty<T, K, V>

    ReplaceProperty<T, K, V>: Omit<T, K> & {
        [P in K]: V
    }

    Type Parameters

    diff --git a/types/Required.html b/types/Required.html index 13fb540ee..be28b2b67 100644 --- a/types/Required.html +++ b/types/Required.html @@ -1 +1 @@ -Required | type-plus - v8.0.0-beta.6

    Type Alias Required<T>

    Required<T>: {
        [P in keyof T]-?: Exclude<T[P], undefined>
    }

    Type Parameters

    • T
    +Required | type-plus - v8.0.0-beta.6

    Type Alias Required<T>

    Required<T>: {
        [P in keyof T]-?: Exclude<T[P], undefined>
    }

    Type Parameters

    • T
    diff --git a/types/RequiredExcept.html b/types/RequiredExcept.html index 39cba80f8..8a8ea2f51 100644 --- a/types/RequiredExcept.html +++ b/types/RequiredExcept.html @@ -1 +1 @@ -RequiredExcept | type-plus - v8.0.0-beta.6

    Type Alias RequiredExcept<T, U>

    RequiredExcept<T, U>: Required<Pick<T, Exclude<keyof T, U>>> & Pick<T, U>

    Type Parameters

    • T
    • U extends keyof T
    +RequiredExcept | type-plus - v8.0.0-beta.6

    Type Alias RequiredExcept<T, U>

    RequiredExcept<T, U>: Required<Pick<T, Exclude<keyof T, U>>> & Pick<T, U>

    Type Parameters

    • T
    • U extends keyof T
    diff --git a/types/RequiredKeys-1.html b/types/RequiredKeys-1.html index 75a8b1307..cecd1951a 100644 --- a/types/RequiredKeys-1.html +++ b/types/RequiredKeys-1.html @@ -1 +1 @@ -RequiredKeys | type-plus - v8.0.0-beta.6

    Type Alias RequiredKeys<T>

    RequiredKeys<T>: T extends unknown
        ? RequiredKeys._<T>
        : never

    Type Parameters

    +RequiredKeys | type-plus - v8.0.0-beta.6

    Type Alias RequiredKeys<T>

    RequiredKeys<T>: T extends unknown
        ? RequiredKeys._<T>
        : never

    Type Parameters

    diff --git a/types/RequiredKeys._.html b/types/RequiredKeys._.html index 47d3c2f1b..3627d88ee 100644 --- a/types/RequiredKeys._.html +++ b/types/RequiredKeys._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<T>

    _<T>: Exclude<keyof T, OptionalKeys<T>>

    Type Parameters

    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<T>

    _<T>: Exclude<keyof T, OptionalKeys<T>>

    Type Parameters

    diff --git a/types/RequiredPick.html b/types/RequiredPick.html index 76c71c66f..891b457f1 100644 --- a/types/RequiredPick.html +++ b/types/RequiredPick.html @@ -1 +1 @@ -RequiredPick | type-plus - v8.0.0-beta.6

    Type Alias RequiredPick<T, U>

    RequiredPick<T, U>: Required<Pick<T, U>> & Pick<T, Exclude<keyof T, U>>

    Type Parameters

    • T
    • U extends keyof T
    +RequiredPick | type-plus - v8.0.0-beta.6

    Type Alias RequiredPick<T, U>

    RequiredPick<T, U>: Required<Pick<T, U>> & Pick<T, Exclude<keyof T, U>>

    Type Parameters

    • T
    • U extends keyof T
    diff --git a/types/Reverse.html b/types/Reverse.html index 394342c3f..627a27318 100644 --- a/types/Reverse.html +++ b/types/Reverse.html @@ -1,3 +1,3 @@ Reverse | type-plus - v8.0.0-beta.6

    Type Alias Reverse<A>

    Reverse<A>: number extends A["length"]
        ? A
        : A["length"] extends 0
            ? A
            : A["length"] extends 1
                ? A
                : A extends [any, ...(infer T)]
                    ? T extends any[]
                        ? [...Reverse<T>, A[0]]
                        : never
                    : never

    ⚗️ transform

    reverses the order of A.

    -

    Type Parameters

    • A extends unknown[]
    +

    Type Parameters

    diff --git a/types/Some-1.html b/types/Some-1.html index 505d2775b..ad4893eb1 100644 --- a/types/Some-1.html +++ b/types/Some-1.html @@ -6,4 +6,4 @@

    Type Parameters

    Some<string[], string> // true
    Some<['a', boolean], boolean> // true
    Some<['a', true], boolean> //true

    Some<['a', true], boolean, 'strict'> // false
    -
    +
    diff --git a/types/Some.Loose.html b/types/Some.Loose.html index 7f07b194e..067525535 100644 --- a/types/Some.Loose.html +++ b/types/Some.Loose.html @@ -1 +1 @@ -Loose | type-plus - v8.0.0-beta.6

    Type Alias Loose<A, Criteria, Then, Else>

    Loose<A, Criteria, Then, Else>: number extends A["length"]
        ? LooseArray<A, Criteria, Then, Else>
        : LooseTuple<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +Loose | type-plus - v8.0.0-beta.6

    Type Alias Loose<A, Criteria, Then, Else>

    Loose<A, Criteria, Then, Else>: number extends A["length"]
        ? LooseArray<A, Criteria, Then, Else>
        : LooseTuple<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.LooseArray.html b/types/Some.LooseArray.html index afc0b927c..2f0c29628 100644 --- a/types/Some.LooseArray.html +++ b/types/Some.LooseArray.html @@ -1 +1 @@ -LooseArray | type-plus - v8.0.0-beta.6

    Type Alias LooseArray<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +LooseArray | type-plus - v8.0.0-beta.6

    Type Alias LooseArray<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.LooseTuple.html b/types/Some.LooseTuple.html index 709e0f3e2..c78d415ff 100644 --- a/types/Some.LooseTuple.html +++ b/types/Some.LooseTuple.html @@ -1 +1 @@ -LooseTuple | type-plus - v8.0.0-beta.6

    Type Alias LooseTuple<A, Criteria, Then, Else>

    LooseTuple<A, Criteria, Then, Else>: A["length"] extends 0
        ? Else
        : A[0] extends Criteria
            ? Then
            : LooseTuple<Tail<A>, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +LooseTuple | type-plus - v8.0.0-beta.6

    Type Alias LooseTuple<A, Criteria, Then, Else>

    LooseTuple<A, Criteria, Then, Else>: A["length"] extends 0
        ? Else
        : A[0] extends Criteria
            ? Then
            : LooseTuple<Tail<A>, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.Strict.html b/types/Some.Strict.html index 175bad665..ed24198e0 100644 --- a/types/Some.Strict.html +++ b/types/Some.Strict.html @@ -1 +1 @@ -Strict | type-plus - v8.0.0-beta.6

    Type Alias Strict<A, Criteria, Then, Else>

    Strict<A, Criteria, Then, Else>: number extends A["length"]
        ? StrictArray<A, Criteria, Then, Else>
        : StrictTuple<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +Strict | type-plus - v8.0.0-beta.6

    Type Alias Strict<A, Criteria, Then, Else>

    Strict<A, Criteria, Then, Else>: number extends A["length"]
        ? StrictArray<A, Criteria, Then, Else>
        : StrictTuple<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.StrictArray.html b/types/Some.StrictArray.html index 639c55b93..c5da0a175 100644 --- a/types/Some.StrictArray.html +++ b/types/Some.StrictArray.html @@ -1 +1 @@ -StrictArray | type-plus - v8.0.0-beta.6

    Type Alias StrictArray<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +StrictArray | type-plus - v8.0.0-beta.6

    Type Alias StrictArray<A, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Some.StrictTuple.html b/types/Some.StrictTuple.html index 2c9c40067..fcece1b51 100644 --- a/types/Some.StrictTuple.html +++ b/types/Some.StrictTuple.html @@ -1 +1 @@ -StrictTuple | type-plus - v8.0.0-beta.6

    Type Alias StrictTuple<A, Criteria, Then, Else>

    StrictTuple<A, Criteria, Then, Else>: A["length"] extends 0
        ? Else
        : IsEqual<A[0], Criteria> extends true
            ? Then
            : StrictTuple<Tail<A>, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    +StrictTuple | type-plus - v8.0.0-beta.6

    Type Alias StrictTuple<A, Criteria, Then, Else>

    StrictTuple<A, Criteria, Then, Else>: A["length"] extends 0
        ? Else
        : IsEqual<A[0], Criteria> extends true
            ? Then
            : StrictTuple<Tail<A>, Criteria, Then, Else>

    Type Parameters

    • A extends readonly unknown[]
    • Criteria
    • Then
    • Else
    diff --git a/types/Split.html b/types/Split.html index 0f64b9b8c..49f958662 100644 --- a/types/Split.html +++ b/types/Split.html @@ -1 +1 @@ -Split | type-plus - v8.0.0-beta.6

    Type Alias Split<T, S>

    Split<T, S>: {
        [k in keyof S]-?: S[k] extends undefined
            ? T[k]
            : NonNullable<T[k]> | Exclude<S[k], undefined>
    }

    Type Parameters

    +Split | type-plus - v8.0.0-beta.6

    Type Alias Split<T, S>

    Split<T, S>: {
        [k in keyof S]-?: S[k] extends undefined
            ? T[k]
            : NonNullable<T[k]> | Exclude<S[k], undefined>
    }

    Type Parameters

    diff --git a/types/SpreadRecord.html b/types/SpreadRecord.html index 4e7eaca83..c1cd5a558 100644 --- a/types/SpreadRecord.html +++ b/types/SpreadRecord.html @@ -1 +1 @@ -SpreadRecord | type-plus - v8.0.0-beta.6

    Type Alias SpreadRecord<A, B>

    SpreadRecord<A, B>: Omit<A, Extract<keyof A, keyof B>> & B

    Type Parameters

    • A extends Record<any, any>
    • B extends Record<any, any>
    +SpreadRecord | type-plus - v8.0.0-beta.6

    Type Alias SpreadRecord<A, B>

    SpreadRecord<A, B>: Omit<A, Extract<keyof A, keyof B>> & B

    Type Parameters

    • A extends Record<any, any>
    • B extends Record<any, any>
    diff --git a/types/StrictCanAssign.html b/types/StrictCanAssign.html index 91b77aed2..9564290aa 100644 --- a/types/StrictCanAssign.html +++ b/types/StrictCanAssign.html @@ -4,4 +4,4 @@
    StrictCanAssign<number | string, number> // false
    StrictCanAssign<number | string, number | string> // true
    -
    +
    diff --git a/types/StringIncludes.html b/types/StringIncludes.html index 25ffb65d3..30f2e8eba 100644 --- a/types/StringIncludes.html +++ b/types/StringIncludes.html @@ -3,4 +3,4 @@
    type R = StringIncludes<'abc', 'a'> // true

    type R = StringIncludes<'abc', 'd'> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringPlus.Includes.html b/types/StringPlus.Includes.html index 8aa4cfb19..34471ada0 100644 --- a/types/StringPlus.Includes.html +++ b/types/StringPlus.Includes.html @@ -3,4 +3,4 @@
    type R = StringPlus.Includes<'abc', 'a'> // true

    type R = StringPlus.Includes<'abc', 'd'> // false
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringPlus.Split.html b/types/StringPlus.Split.html index 5409bb86f..7052c5741 100644 --- a/types/StringPlus.Split.html +++ b/types/StringPlus.Split.html @@ -3,4 +3,4 @@
    type R = StringPlus.Split<'abc', ''> // ['a', 'b', 'c']
    type R = StringPlus.Split<'abc', 'a'> // ['', 'bc']
    type R = StringPlus.Split<'abc', 'b'> // ['a', 'c']
    type R = StringPlus.Split<'abc', 'c'> // ['ab', '']
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringSplit.html b/types/StringSplit.html index 38f3b3ec4..2cf2f9bd6 100644 --- a/types/StringSplit.html +++ b/types/StringSplit.html @@ -3,4 +3,4 @@
    type R = StringSplit<'abc', ''> // ['a', 'b', 'c']
    type R = StringSplit<'abc', 'a'> // ['', 'bc']
    type R = StringSplit<'abc', 'b'> // ['a', 'c']
    type R = StringSplit<'abc', 'c'> // ['ab', '']
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringToBigint.html b/types/StringToBigint.html index 5baff8d0c..354414e64 100644 --- a/types/StringToBigint.html +++ b/types/StringToBigint.html @@ -2,4 +2,4 @@
    StringToBigint<'1n'> // 1n
    StringToBigint<'-1n'> // -1n
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringToNumber.html b/types/StringToNumber.html index 1bd4a4168..c91c5792a 100644 --- a/types/StringToNumber.html +++ b/types/StringToNumber.html @@ -2,4 +2,4 @@
    StringToNumber<'1'> // 1
    StringToNumber<'-1'> // -1
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/StringToNumeric.html b/types/StringToNumeric.html index 46da62513..1998ae422 100644 --- a/types/StringToNumeric.html +++ b/types/StringToNumeric.html @@ -2,4 +2,4 @@
    StringToNumeric<'1'> // 1
    StringToNumeric<'1n'> // 1n
    StringToNumeric<'-1'> // -1
    StringToNumeric<'-1n'> // -1n
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/SubUnion.html b/types/SubUnion.html index 74608f5c4..8d02144e4 100644 --- a/types/SubUnion.html +++ b/types/SubUnion.html @@ -1,3 +1,3 @@ SubUnion | type-plus - v8.0.0-beta.6

    Type Alias SubUnion<U, T>

    SubUnion<U, T>: T

    🧰 type util Define a union type that is a subset of union type.

    -

    Type Parameters

    • U
    • T extends U
    +

    Type Parameters

    diff --git a/types/Subtract.html b/types/Subtract.html index e498a3b69..0e1a547ca 100644 --- a/types/Subtract.html +++ b/types/Subtract.html @@ -1 +1 @@ -Subtract | type-plus - v8.0.0-beta.6

    Type Alias Subtract<A, B, Fail>

    Subtract<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Subtract<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    +Subtract | type-plus - v8.0.0-beta.6

    Type Alias Subtract<A, B, Fail>

    Subtract<A, B, Fail>: [NumericStruct.FromNumeric<A, Fail>, NumericStruct.FromNumeric<B, Fail>] extends [infer MA, infer MB]
        ? MA extends NumericStruct
            ? MB extends NumericStruct
                ? NumericStruct.ToNumeric<NumericStruct.Subtract<MA, MB>>
                : Fail
            : Fail
        : never

    Type Parameters

    • A extends number | bigint
    • B extends number | bigint
    • Fail = never
    diff --git a/types/SystemErrorCodes.html b/types/SystemErrorCodes.html index 28467f8a3..1a0030dd1 100644 --- a/types/SystemErrorCodes.html +++ b/types/SystemErrorCodes.html @@ -1 +1 @@ -SystemErrorCodes | type-plus - v8.0.0-beta.6

    Type Alias SystemErrorCodes

    SystemErrorCodes: keyof SystemErrors
    +SystemErrorCodes | type-plus - v8.0.0-beta.6

    Type Alias SystemErrorCodes

    SystemErrorCodes: keyof SystemErrors
    diff --git a/types/SystemErrors.html b/types/SystemErrors.html index 361b3d41d..9c0c8ee83 100644 --- a/types/SystemErrors.html +++ b/types/SystemErrors.html @@ -1 +1 @@ -SystemErrors | type-plus - v8.0.0-beta.6

    Type Alias SystemErrors

    SystemErrors: {
        EACCES: Error & {
            code: "EACCES";
        };
        EADDRINUSE: Error & {
            code: "EADDRINUSE";
        };
        ECONNREFUSED: Error;
        ECONNRESET: Error;
        EEXIST: Error;
        EISDIR: Error;
        EMFILE: Error;
        ENOENT: Error & {
            code: "ENOENT";
            path: string;
        };
        ENOTDIR: Error;
        ENOTEMPTY: Error;
        ENOTFOUND: Error;
        EPERM: Error;
        EPIPE: Error;
        ETIMEDOUT: Error;
    }
    +SystemErrors | type-plus - v8.0.0-beta.6

    Type Alias SystemErrors

    SystemErrors: {
        EACCES: Error & {
            code: "EACCES";
        };
        EADDRINUSE: Error & {
            code: "EADDRINUSE";
        };
        ECONNREFUSED: Error;
        ECONNRESET: Error;
        EEXIST: Error;
        EISDIR: Error;
        EMFILE: Error;
        ENOENT: Error & {
            code: "ENOENT";
            path: string;
        };
        ENOTDIR: Error;
        ENOTEMPTY: Error;
        ENOTFOUND: Error;
        EPERM: Error;
        EPIPE: Error;
        ETIMEDOUT: Error;
    }
    diff --git a/types/Tail.html b/types/Tail.html index be6cbdf9c..459ebc729 100644 --- a/types/Tail.html +++ b/types/Tail.html @@ -1,2 +1,2 @@ Tail | type-plus - v8.0.0-beta.6

    Type Alias Tail<T>

    Tail<T>: T["length"] extends 0
        ? never
        : T extends readonly [any, ...(infer Tail)]
            ? Tail extends UnionOfValues<T>[]
                ? Tail
                : never
            : T

    Gets the types of a tuple except the first entry.

    -

    Type Parameters

    • T extends readonly unknown[]
    +

    Type Parameters

    diff --git a/types/ToTuple.html b/types/ToTuple.html index 30e4fe075..37d9823bb 100644 --- a/types/ToTuple.html +++ b/types/ToTuple.html @@ -1 +1 @@ -ToTuple | type-plus - v8.0.0-beta.6

    Type Alias ToTuple<R, S, X>

    ToTuple<R, S, X>: S["length"] extends 0
        ? R
        : S["length"] extends 1
            ? [...R, ...DigitToTuple<X>[S[0]]]
            : S extends [any, ...(infer T)]
                ? T extends any[]
                    ? ToTuple<Multi10<[...R, ...DigitToTuple<X>[S[0]]]>, T>
                    : never
                : never

    Type Parameters

    • R extends any[]
    • S extends number[]
    • X = any
    +ToTuple | type-plus - v8.0.0-beta.6

    Type Alias ToTuple<R, S, X>

    ToTuple<R, S, X>: S["length"] extends 0
        ? R
        : S["length"] extends 1
            ? [...R, ...DigitToTuple<X>[S[0]]]
            : S extends [any, ...(infer T)]
                ? T extends any[]
                    ? ToTuple<Multi10<[...R, ...DigitToTuple<X>[S[0]]]>, T>
                    : never
                : never

    Type Parameters

    • R extends any[]
    • S extends number[]
    • X = any
    diff --git a/types/TuplePlus.CommonPropKeys-1.html b/types/TuplePlus.CommonPropKeys-1.html index c40062f4e..d8f46a9bd 100644 --- a/types/TuplePlus.CommonPropKeys-1.html +++ b/types/TuplePlus.CommonPropKeys-1.html @@ -6,4 +6,4 @@

    Return type when T is never. Default to never.

    -
    +
    diff --git a/types/TuplePlus.DropMatch-1.html b/types/TuplePlus.DropMatch-1.html index 01cbb806c..f9dde2e19 100644 --- a/types/TuplePlus.DropMatch-1.html +++ b/types/TuplePlus.DropMatch-1.html @@ -1 +1 @@ -DropMatch | type-plus - v8.0.0-beta.6

    Type Alias DropMatch<A, Criteria>

    DropMatch<A, Criteria>: A["length"] extends 0
        ? A
        : A extends readonly [infer Head, ...(infer Tail)]
            ? Tail["length"] extends 0
                ? undefined extends Criteria
                    ? ExcludeUnionOfEmptyTuple<Head extends Criteria
                        ? []
                        : [Head]>
                    : ExcludeUnionOfEmptyTuple<Head extends Criteria
                        ? []
                        : [Head]>
                : Exclude<Head, Criteria> extends never
                    ? TuplePlus.DropMatch<Tail, Criteria>
                    : [Exclude<Head, Criteria>, ...TuplePlus.DropMatch<Tail, Criteria>]
            : never[]

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    +DropMatch | type-plus - v8.0.0-beta.6

    Type Alias DropMatch<A, Criteria>

    DropMatch<A, Criteria>: A["length"] extends 0
        ? A
        : A extends readonly [infer Head, ...(infer Tail)]
            ? Tail["length"] extends 0
                ? undefined extends Criteria
                    ? ExcludeUnionOfEmptyTuple<Head extends Criteria
                        ? []
                        : [Head]>
                    : ExcludeUnionOfEmptyTuple<Head extends Criteria
                        ? []
                        : [Head]>
                : Exclude<Head, Criteria> extends never
                    ? TuplePlus.DropMatch<Tail, Criteria>
                    : [Exclude<Head, Criteria>, ...TuplePlus.DropMatch<Tail, Criteria>]
            : never[]

    Type Parameters

    • A extends Readonly<unknown[]>
    • Criteria
    diff --git a/types/TuplePlus.DropMatch.ExcludeUnionOfEmptyTuple.html b/types/TuplePlus.DropMatch.ExcludeUnionOfEmptyTuple.html index 629b96191..bedb135be 100644 --- a/types/TuplePlus.DropMatch.ExcludeUnionOfEmptyTuple.html +++ b/types/TuplePlus.DropMatch.ExcludeUnionOfEmptyTuple.html @@ -1 +1 @@ -ExcludeUnionOfEmptyTuple | type-plus - v8.0.0-beta.6

    Type Alias ExcludeUnionOfEmptyTuple<A>

    ExcludeUnionOfEmptyTuple<A>: IsEqual<A, []> extends true
        ? A
        : Exclude<A, []>

    Type Parameters

    • A
    +ExcludeUnionOfEmptyTuple | type-plus - v8.0.0-beta.6

    Type Alias ExcludeUnionOfEmptyTuple<A>

    ExcludeUnionOfEmptyTuple<A>: IsEqual<A, []> extends true
        ? A
        : Exclude<A, []>

    Type Parameters

    • A
    diff --git a/types/TuplePlus.Filter.html b/types/TuplePlus.Filter.html index 3a3f38b8a..d5645f801 100644 --- a/types/TuplePlus.Filter.html +++ b/types/TuplePlus.Filter.html @@ -3,4 +3,4 @@

    Type Parameters

    type R = Filter<[1, 2, '3'], number> // [1, 2]
    type R = Filter<[1, 2, '3'], true> // []
    -
    +
    diff --git a/types/TuplePlus.Find-1.html b/types/TuplePlus.Find-1.html index 88e314b6a..ce0887acd 100644 --- a/types/TuplePlus.Find-1.html +++ b/types/TuplePlus.Find-1.html @@ -23,4 +23,4 @@

    If you want the type to behave more like JavaScript, you can override it to return undefined.

    Since it is a union, the result will be joined to the matched branch as union.

    -
    +
    diff --git a/types/TuplePlus.Find.Device.html b/types/TuplePlus.Find.Device.html index cbd44de4a..ac1e3a457 100644 --- a/types/TuplePlus.Find.Device.html +++ b/types/TuplePlus.Find.Device.html @@ -1 +1 @@ -Device | type-plus - v8.0.0-beta.6

    Type Alias Device<A, Criteria, Options>

    Device<A, Criteria, Options>: A["length"] extends 0
        ? Options["$notMatch"]
        : A extends readonly [infer Head, ...(infer Tail)]
            ? ElementMatch<Head, Criteria, TypePlusOptions.Merge<{
                $notMatch: TuplePlus.Find.Device<Tail, Criteria, Options>;
            }, Options>>
            : never

    Type Parameters

    +Device | type-plus - v8.0.0-beta.6

    Type Alias Device<A, Criteria, Options>

    Device<A, Criteria, Options>: A["length"] extends 0
        ? Options["$notMatch"]
        : A extends readonly [infer Head, ...(infer Tail)]
            ? ElementMatch<Head, Criteria, TypePlusOptions.Merge<{
                $notMatch: TuplePlus.Find.Device<Tail, Criteria, Options>;
            }, Options>>
            : never

    Type Parameters

    diff --git a/types/TuplePlus.PadStart-1.html b/types/TuplePlus.PadStart-1.html index ce17fac4f..06b8e1a9a 100644 --- a/types/TuplePlus.PadStart-1.html +++ b/types/TuplePlus.PadStart-1.html @@ -5,4 +5,4 @@

    Type Parameters

    PadStart<[1, 2, 3], 5, 0> // [0, 0, 1, 2, 3]

    // Ignore if MaxLength is less than the length of the tuple
    PadStart<[1, 2, 3], 2> // [1, 2, 3]

    // Default to unknown
    PadStart<[1, 2, 3], 5> // [unknown, unknown, 1, 2, 3]
    -
    +
    diff --git a/types/TuplePlus.PadStart.Device.html b/types/TuplePlus.PadStart.Device.html index 40e0cf4ba..92c19d5a2 100644 --- a/types/TuplePlus.PadStart.Device.html +++ b/types/TuplePlus.PadStart.Device.html @@ -1 +1 @@ -Device | type-plus - v8.0.0-beta.6

    Type Alias Device<Source, MaxLength, PadWith, Result>

    Device<Source, MaxLength, PadWith, Result>: Result["length"] extends MaxLength
        ? Source extends []
            ? Result
            : Source extends readonly [...(infer Head), infer Tail]
                ? [Tail, ...Result] extends infer R extends unknown[]
                    ? TuplePlus.PadStart.Device<Head, R["length"], PadWith, R>
                    : never
                : never
        : Source extends []
            ? TuplePlus.PadStart.Device<Source, MaxLength, PadWith, [PadWith, ...Result]>
            : Source extends readonly [...(infer Head), infer Tail]
                ? TuplePlus.PadStart.Device<Head, MaxLength, PadWith, [Tail, ...Result]>
                : Source

    Type Parameters

    • Source extends readonly unknown[]
    • MaxLength extends number
    • PadWith
    • Result extends unknown[]
    +Device | type-plus - v8.0.0-beta.6

    Type Alias Device<Source, MaxLength, PadWith, Result>

    Device<Source, MaxLength, PadWith, Result>: Result["length"] extends MaxLength
        ? Source extends []
            ? Result
            : Source extends readonly [...(infer Head), infer Tail]
                ? [Tail, ...Result] extends infer R extends unknown[]
                    ? TuplePlus.PadStart.Device<Head, R["length"], PadWith, R>
                    : never
                : never
        : Source extends []
            ? TuplePlus.PadStart.Device<Source, MaxLength, PadWith, [PadWith, ...Result]>
            : Source extends readonly [...(infer Head), infer Tail]
                ? TuplePlus.PadStart.Device<Head, MaxLength, PadWith, [Tail, ...Result]>
                : Source

    Type Parameters

    • Source extends readonly unknown[]
    • MaxLength extends number
    • PadWith
    • Result extends unknown[]
    diff --git a/types/TypePlusOptions.Merge.html b/types/TypePlusOptions.Merge.html index 2c83303ca..1d9e5e745 100644 --- a/types/TypePlusOptions.Merge.html +++ b/types/TypePlusOptions.Merge.html @@ -1,4 +1,4 @@ Merge | type-plus - v8.0.0-beta.6

    Type Alias Merge<I, D>

    Merge<I, D>: {
        [k in keyof D]: k extends keyof I
            ? I[k]
            : D[k]
    }

    🦴 utilities ㊙️ internal

    Merge the input Options I with the default Options D.

    -

    Type Parameters

    • I
    • D
    +

    Type Parameters

    diff --git a/types/UnionKeys.html b/types/UnionKeys.html index 2af37b287..1df8dabce 100644 --- a/types/UnionKeys.html +++ b/types/UnionKeys.html @@ -1,3 +1,3 @@ UnionKeys | type-plus - v8.0.0-beta.6

    Type Alias UnionKeys<T>

    UnionKeys<T>: keyof T | (T extends unknown
        ? keyof T
        : never)

    UnionKeys<T> will distribute keys of an union to individual types. This should be used in conjuncture with distributive types.

    -

    Type Parameters

    • T
    +

    Type Parameters

    diff --git a/types/UnionOfProps.html b/types/UnionOfProps.html index ae2d4ac64..0c8a9848d 100644 --- a/types/UnionOfProps.html +++ b/types/UnionOfProps.html @@ -1,2 +1,2 @@ UnionOfProps | type-plus - v8.0.0-beta.6

    Type Alias UnionOfProps<A, P>

    UnionOfProps<A, P>: A["length"] extends 0
        ? never
        : A["length"] extends 1
            ? A[0][P]
            : A[0][P] | UnionOfProps<Tail<A>, P>

    Gets the union of properties of the elements in A

    -

    Type Parameters

    • A extends readonly Record<any, any>[]
    • P extends KeyTypes
    +

    Type Parameters

    diff --git a/types/UnionOfValues.html b/types/UnionOfValues.html index f86440ebb..0b32ef5a7 100644 --- a/types/UnionOfValues.html +++ b/types/UnionOfValues.html @@ -1,2 +1,2 @@ UnionOfValues | type-plus - v8.0.0-beta.6

    Type Alias UnionOfValues<A>

    UnionOfValues<A>: A extends Readonly<(infer E)[]>
        ? E
        : never

    Gets the union of value types in A

    -

    Type Parameters

    • A extends readonly unknown[]
    +

    Type Parameters

    diff --git a/types/UnionType-1.html b/types/UnionType-1.html index 90702f6db..3f7bd1686 100644 --- a/types/UnionType-1.html +++ b/types/UnionType-1.html @@ -3,4 +3,4 @@

    Type Parameters

    type R = IsUnion<'a' | 'b'> // 'a' | 'b'
    type R = IsUnion<boolean> // boolean
    type R = IsUnion<number> // never
    -
    +
    diff --git a/types/UnionType.Device.html b/types/UnionType.Device.html index 616022e92..35bc0f899 100644 --- a/types/UnionType.Device.html +++ b/types/UnionType.Device.html @@ -1 +1 @@ -Device | type-plus - v8.0.0-beta.6

    Type Alias Device<T, Then, Else, U>

    Device<T, Then, Else, U>: (T extends unknown
            ? U extends T
                ? 1
                : 2
            : never) extends 1
        ? Else
        : Then

    Type Parameters

    • T
    • Then
    • Else
    • U = T
    +Device | type-plus - v8.0.0-beta.6

    Type Alias Device<T, Then, Else, U>

    Device<T, Then, Else, U>: (T extends unknown
            ? U extends T
                ? 1
                : 2
            : never) extends 1
        ? Else
        : Then

    Type Parameters

    • T
    • Then
    • Else
    • U = T
    diff --git a/types/ValueOf.html b/types/ValueOf.html index ef3d8fc14..372290928 100644 --- a/types/ValueOf.html +++ b/types/ValueOf.html @@ -1 +1 @@ -ValueOf | type-plus - v8.0.0-beta.6

    Type Alias ValueOf<T>

    ValueOf<T>: T[keyof T]

    Type Parameters

    • T
    +ValueOf | type-plus - v8.0.0-beta.6

    Type Alias ValueOf<T>

    ValueOf<T>: T[keyof T]

    Type Parameters

    • T
    diff --git a/types/Widen.html b/types/Widen.html index 3550adc7a..10c953864 100644 --- a/types/Widen.html +++ b/types/Widen.html @@ -1,3 +1,3 @@ Widen | type-plus - v8.0.0-beta.6

    Type Alias Widen<T>

    Widen<T>: T extends boolean
        ? boolean
        : T extends number
            ? number
            : T extends string
                ? string
                : T

    Widen scalar types from literals to their parent types. Borrow from typical

    -

    Type Parameters

    • T
    +

    Type Parameters

    diff --git a/types/Xor.html b/types/Xor.html index 4a2803a80..b8f29d3f9 100644 --- a/types/Xor.html +++ b/types/Xor.html @@ -1 +1 @@ -Xor | type-plus - v8.0.0-beta.6

    Type Alias Xor<A, B, Then, Else>

    Xor<A, B, Then, Else>: A extends Then
        ? Not<B>
        : B extends true
            ? Then
            : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    +Xor | type-plus - v8.0.0-beta.6

    Type Alias Xor<A, B, Then, Else>

    Xor<A, B, Then, Else>: A extends Then
        ? Not<B>
        : B extends true
            ? Then
            : Else

    Type Parameters

    • A extends boolean
    • B extends boolean
    • Then = true
    • Else = false
    diff --git a/types/_Any-1.html b/types/_Any-1.html index 5350b07ce..d40e5808e 100644 --- a/types/_Any-1.html +++ b/types/_Any-1.html @@ -1 +1 @@ -$Any | type-plus - v8.0.0-beta.6

    Type Alias $Any

    $Any: $Branch<"$any">
    +$Any | type-plus - v8.0.0-beta.6

    Type Alias $Any

    $Any: $Branch<"$any">
    diff --git a/types/_Any._Branch.html b/types/_Any._Branch.html index 90ae7f6bf..ee9b22e28 100644 --- a/types/_Any._Branch.html +++ b/types/_Any._Branch.html @@ -4,4 +4,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Any.$Options
    export type $Branch = $Any.$Branch
    }

    type R = YourType<T, YourType.$Branch> extends $Any ? HandleAny : HandleOthers
    -
    +
    diff --git a/types/_Any._Options.html b/types/_Any._Options.html index 87cdf7d0e..03c2ece90 100644 --- a/types/_Any._Options.html +++ b/types/_Any._Options.html @@ -3,4 +3,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $AnyOptions
    }
    -
    +
    diff --git a/types/_Branch.html b/types/_Branch.html index 29e09efcd..4c2aafeb4 100644 --- a/types/_Branch.html +++ b/types/_Branch.html @@ -4,4 +4,4 @@
    type $Then = $Branch<'$then'>
    type $Any = $Branch<'$any'
    -
    +
    diff --git a/types/_BranchOptions.html b/types/_BranchOptions.html index 8e6e790ad..acf5c0d62 100644 --- a/types/_BranchOptions.html +++ b/types/_BranchOptions.html @@ -3,4 +3,4 @@
    type $YourOptions = $BranchOptions<$Then | $Else> // { $then: $Then, $else: $Else }
     
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_DistributiveDefault.html b/types/_DistributiveDefault.html index e0bed667d..e97ab900f 100644 --- a/types/_DistributiveDefault.html +++ b/types/_DistributiveDefault.html @@ -1,4 +1,4 @@ $DistributiveDefault | type-plus - v8.0.0-beta.6

    Type Alias $DistributiveDefault

    $DistributiveDefault: {
        distributive: true;
    }

    🧰 type util

    Default options for distributive behavior.

    By default it is true.

    -
    +
    diff --git a/types/_DistributiveOptions.html b/types/_DistributiveOptions.html index 690f4dc94..b48f2e0dc 100644 --- a/types/_DistributiveOptions.html +++ b/types/_DistributiveOptions.html @@ -1,3 +1,3 @@ $DistributiveOptions | type-plus - v8.0.0-beta.6

    Type Alias $DistributiveOptions

    $DistributiveOptions: {
        distributive?: boolean;
    }

    🧰 type util

    Options for to control if the type is distributive.

    -
    +
    diff --git a/types/_Else-1.html b/types/_Else-1.html index c94f4314e..aefed8a5e 100644 --- a/types/_Else-1.html +++ b/types/_Else-1.html @@ -1 +1 @@ -$Else | type-plus - v8.0.0-beta.6

    Type Alias $Else

    $Else: $Branch<"$else">
    +$Else | type-plus - v8.0.0-beta.6

    Type Alias $Else

    $Else: $Branch<"$else">
    diff --git a/types/_Else._Branch.html b/types/_Else._Branch.html index bca1cadbe..e9e07eb23 100644 --- a/types/_Else._Branch.html +++ b/types/_Else._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch

    $Branch: {
        $else: $Else;
    }
    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch

    $Branch: {
        $else: $Else;
    }
    diff --git a/types/_Equality._Branch.html b/types/_Equality._Branch.html index e9dd64315..273b5491e 100644 --- a/types/_Equality._Branch.html +++ b/types/_Equality._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    Type Parameters

    diff --git a/types/_Equality._Options.html b/types/_Equality._Options.html index b7e55c510..8d5392f15 100644 --- a/types/_Equality._Options.html +++ b/types/_Equality._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6

    Type Alias $Options

    +$Options | type-plus - v8.0.0-beta.6

    Type Alias $Options

    diff --git a/types/_Error.html b/types/_Error.html index 2237799b0..1d2f4edde 100644 --- a/types/_Error.html +++ b/types/_Error.html @@ -1,3 +1,3 @@ $Error | type-plus - v8.0.0-beta.6

    Type Alias $Error<M, T>

    $Error<M, T>: M extends any
        ? $Type<"error", M, T>
        : never

    🧰 type util

    A basic type-level error.

    -

    Type Parameters

    • M extends string
    • T = unknown
    +

    Type Parameters

    diff --git a/types/_ExtractManipulatedString-1.html b/types/_ExtractManipulatedString-1.html index e5d40729f..b0ce64887 100644 --- a/types/_ExtractManipulatedString-1.html +++ b/types/_ExtractManipulatedString-1.html @@ -6,4 +6,4 @@
  • Capitalize
  • Uncapitalize
  • -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_ExtractManipulatedString._CapOrElse.html b/types/_ExtractManipulatedString._CapOrElse.html index b20ee6564..1e732141e 100644 --- a/types/_ExtractManipulatedString._CapOrElse.html +++ b/types/_ExtractManipulatedString._CapOrElse.html @@ -1 +1 @@ -_CapOrElse | type-plus - v8.0.0-beta.6

    Type Alias _CapOrElse<N, Else>

    _CapOrElse<N, Else>: N extends Capitalize<infer Y>
        ? string extends Y
            ? Capitalize<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    +_CapOrElse | type-plus - v8.0.0-beta.6

    Type Alias _CapOrElse<N, Else>

    _CapOrElse<N, Else>: N extends Capitalize<infer Y>
        ? string extends Y
            ? Capitalize<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    diff --git a/types/_ExtractManipulatedString._LowerOrElse.html b/types/_ExtractManipulatedString._LowerOrElse.html index 84f6239ca..72345c08d 100644 --- a/types/_ExtractManipulatedString._LowerOrElse.html +++ b/types/_ExtractManipulatedString._LowerOrElse.html @@ -1 +1 @@ -_LowerOrElse | type-plus - v8.0.0-beta.6

    Type Alias _LowerOrElse<N, Else>

    _LowerOrElse<N, Else>: N extends Lowercase<infer Y>
        ? string extends Y
            ? Lowercase<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    +_LowerOrElse | type-plus - v8.0.0-beta.6

    Type Alias _LowerOrElse<N, Else>

    _LowerOrElse<N, Else>: N extends Lowercase<infer Y>
        ? string extends Y
            ? Lowercase<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    diff --git a/types/_ExtractManipulatedString._UncapOrElse.html b/types/_ExtractManipulatedString._UncapOrElse.html index 6f0bccefb..89c0a8bc8 100644 --- a/types/_ExtractManipulatedString._UncapOrElse.html +++ b/types/_ExtractManipulatedString._UncapOrElse.html @@ -1 +1 @@ -_UncapOrElse | type-plus - v8.0.0-beta.6

    Type Alias _UncapOrElse<N, Else>

    _UncapOrElse<N, Else>: N extends Uncapitalize<infer Y>
        ? string extends Y
            ? Uncapitalize<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    +_UncapOrElse | type-plus - v8.0.0-beta.6

    Type Alias _UncapOrElse<N, Else>

    _UncapOrElse<N, Else>: N extends Uncapitalize<infer Y>
        ? string extends Y
            ? Uncapitalize<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    diff --git a/types/_ExtractManipulatedString._UpperOrElse.html b/types/_ExtractManipulatedString._UpperOrElse.html index 894f34cb7..ee7426b9e 100644 --- a/types/_ExtractManipulatedString._UpperOrElse.html +++ b/types/_ExtractManipulatedString._UpperOrElse.html @@ -1 +1 @@ -_UpperOrElse | type-plus - v8.0.0-beta.6

    Type Alias _UpperOrElse<N, Else>

    _UpperOrElse<N, Else>: N extends Uppercase<infer Y>
        ? string extends Y
            ? Uppercase<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    +_UpperOrElse | type-plus - v8.0.0-beta.6

    Type Alias _UpperOrElse<N, Else>

    _UpperOrElse<N, Else>: N extends Uppercase<infer Y>
        ? string extends Y
            ? Uppercase<any> extends N
                ? Y
                : N
            : $ExtractManipulatedString<Y>
        : Else

    Type Parameters

    • N
    • Else
    diff --git a/types/_FlipSelection.html b/types/_FlipSelection.html index a9ab4a80d..e1b3793b0 100644 --- a/types/_FlipSelection.html +++ b/types/_FlipSelection.html @@ -3,4 +3,4 @@

    Type Parameters

    type IsBoolean<T, $Options = $SelectionOptions> = ...

    type IsNotBoolean<T, $Options = $SelectionOptions> = IsBoolean<T, $FlipSelection<$Options>>
    -
    +
    diff --git a/types/_InferError.html b/types/_InferError.html index 0e1b4333d..76d71fcf8 100644 --- a/types/_InferError.html +++ b/types/_InferError.html @@ -7,4 +7,4 @@
    type F<T> = T extends infer U extends V
    ? ...your type logic...
    : InferError<'some message', T>
    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_InputOptions.html b/types/_InputOptions.html index f266d010a..58982e241 100644 --- a/types/_InputOptions.html +++ b/types/_InputOptions.html @@ -1,3 +1,3 @@ $InputOptions | type-plus - v8.0.0-beta.6

    Type Alias $InputOptions<$B>

    $InputOptions<$B>: {
        [k in $B["value"]]?: unknown
    }

    🧰 type util

    Define branch input options.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_InvertSelection.html b/types/_InvertSelection.html index e0823da96..d3a870386 100644 --- a/types/_InvertSelection.html +++ b/types/_InvertSelection.html @@ -5,4 +5,4 @@
  • $Then -> $Else
  • $Else -> $Then
  • -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_IsDistributive.html b/types/_IsDistributive.html index a627f9b3a..a8d9bace9 100644 --- a/types/_IsDistributive.html +++ b/types/_IsDistributive.html @@ -1 +1 @@ -$IsDistributive | type-plus - v8.0.0-beta.6

    Type Alias $IsDistributive<$Options, $O>

    $IsDistributive<$Options, $O>: $ResolveOptions<[$Options["distributive"], $DistributiveDefault["distributive"]]> extends true
        ? "$then" extends keyof $O
            ? $O["$then"]
            : true
        : "$else" extends keyof $O
            ? $O["$else"]
            : false

    Type Parameters

    +$IsDistributive | type-plus - v8.0.0-beta.6

    Type Alias $IsDistributive<$Options, $O>

    $IsDistributive<$Options, $O>: $ResolveOptions<[$Options["distributive"], $DistributiveDefault["distributive"]]> extends true
        ? "$then" extends keyof $O
            ? $O["$then"]
            : true
        : "$else" extends keyof $O
            ? $O["$else"]
            : false

    Type Parameters

    diff --git a/types/_MergeOptions.html b/types/_MergeOptions.html index 12b6640a5..53ddbbc50 100644 --- a/types/_MergeOptions.html +++ b/types/_MergeOptions.html @@ -1,3 +1,3 @@ $MergeOptions | type-plus - v8.0.0-beta.6

    Type Alias $MergeOptions<$O, $V>

    $MergeOptions<$O, $V>: {
        [k in Exclude<keyof $O, keyof $V>]: $O[k]
    } & $V

    🧰 type util

    Merge type options.

    -

    Type Parameters

    • $O extends Record<string, any>
    • $V extends {
          [k in keyof $O]?: unknown
      }
    +

    Type Parameters

    diff --git a/types/_Never-1.html b/types/_Never-1.html index 017194392..3af746df9 100644 --- a/types/_Never-1.html +++ b/types/_Never-1.html @@ -1,3 +1,3 @@ $Never | type-plus - v8.0.0-beta.6

    Type Alias $Never

    $Never: $Branch<"$never">

    🧰 type util

    A special branch type to indicate the type is never.

    -
    +
    diff --git a/types/_Never._Branch.html b/types/_Never._Branch.html index b01d655b2..59c58263c 100644 --- a/types/_Never._Branch.html +++ b/types/_Never._Branch.html @@ -6,4 +6,4 @@
    type YourType<T, $O extends $NeverOptions> = NeverType<T> extends infer R
    ? R extends $Never
    ? $ResolveOptions<[$O['$never'], never]>
    : HandleOtherBranches<R> // R is narrowed
    : never

    type R = YourType<T, $Never.$Branch> extends $Never ? HandleNever : HandleOthers
    -
    +
    diff --git a/types/_Never._Default.html b/types/_Never._Default.html index 3e696455b..d5eaa48cd 100644 --- a/types/_Never._Default.html +++ b/types/_Never._Default.html @@ -1,4 +1,4 @@ $Default | type-plus - v8.0.0-beta.6

    Type Alias $Default

    $Default: {
        $never: never;
    }

    🧰 type util

    Default option for the $never branch.

    Unsurprisingly, defaulting $never to never.

    -
    +
    diff --git a/types/_Never._Options.html b/types/_Never._Options.html index 1b504f08a..e4fa61dae 100644 --- a/types/_Never._Options.html +++ b/types/_Never._Options.html @@ -4,4 +4,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Never.$Options
    export type $Branch = $Never.$Branch
    }
    -
    +
    diff --git a/types/_NotNever.html b/types/_NotNever.html index 525468e07..3f5da188f 100644 --- a/types/_NotNever.html +++ b/types/_NotNever.html @@ -1,4 +1,4 @@ $NotNever | type-plus - v8.0.0-beta.6

    Type Alias $NotNever

    $NotNever: $Branch<"$not_never">

    🧰 type util

    $NotNever is a special branch type to indicate the type is not never.

    It is used in NeverType.

    -
    +
    diff --git a/types/_ResolveBranch-1.html b/types/_ResolveBranch-1.html index 7572f55cb..710797c16 100644 --- a/types/_ResolveBranch-1.html +++ b/types/_ResolveBranch-1.html @@ -9,4 +9,4 @@

    $B Tuple of branches with at least one entry.

    $D When specified, resolve the branch in override mode. If no branch in $B is resolved to $Override<X>, $D will be returned.

    -
    +
    diff --git a/types/_ResolveBranch._.html b/types/_ResolveBranch._.html index 773b3581c..657beaed8 100644 --- a/types/_ResolveBranch._.html +++ b/types/_ResolveBranch._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, $O, $B>

    _<T, $O, $B>: $B extends $Branch<any>
        ? $B["value"] extends keyof $O
            ? $Override.$Unwrap<$O[$B["value"]]>
            : T
        : T

    Type Parameters

    • T
    • $O extends Record<string, any>
    • $B
    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, $O, $B>

    _<T, $O, $B>: $B extends $Branch<any>
        ? $B["value"] extends keyof $O
            ? $Override.$Unwrap<$O[$B["value"]]>
            : T
        : T

    Type Parameters

    • T
    • $O extends Record<string, any>
    • $B
    diff --git a/types/_ResolveBranch._Last.html b/types/_ResolveBranch._Last.html index 9667ba25a..2bd041f8f 100644 --- a/types/_ResolveBranch._Last.html +++ b/types/_ResolveBranch._Last.html @@ -1 +1 @@ -_Last | type-plus - v8.0.0-beta.6

    Type Alias _Last<T, $O, $B>

    _Last<T, $O, $B>: $B extends $Then
        ? "$then" extends keyof $O
            ? $Override.$Unwrap<$O["$then"]>
            : $O["selection"] extends "filter"
                ? T
                : true
        : $B extends $Else
            ? "$else" extends keyof $O
                ? $Override.$Unwrap<$O["$else"]>
                : $O["selection"] extends "filter"
                    ? never
                    : false
            : $ResolveBranch._<T, $O, $B>

    Type Parameters

    • T
    • $O extends Record<string, any>
    • $B
    +_Last | type-plus - v8.0.0-beta.6

    Type Alias _Last<T, $O, $B>

    _Last<T, $O, $B>: $B extends $Then
        ? "$then" extends keyof $O
            ? $Override.$Unwrap<$O["$then"]>
            : $O["selection"] extends "filter"
                ? T
                : true
        : $B extends $Else
            ? "$else" extends keyof $O
                ? $Override.$Unwrap<$O["$else"]>
                : $O["selection"] extends "filter"
                    ? never
                    : false
            : $ResolveBranch._<T, $O, $B>

    Type Parameters

    • T
    • $O extends Record<string, any>
    • $B
    diff --git a/types/_ResolveBranch._OLast.html b/types/_ResolveBranch._OLast.html index d6ef19c98..cae1c5ee6 100644 --- a/types/_ResolveBranch._OLast.html +++ b/types/_ResolveBranch._OLast.html @@ -1 +1 @@ -_OLast | type-plus - v8.0.0-beta.6

    Type Alias _OLast<$D, $O, $B>

    _OLast<$D, $O, $B>: $B extends $Branch<any>
        ? $B["value"] extends keyof $O
            ? $O[$B["value"]] extends infer R extends $Override<any>
                ? [R, never] extends [never, R]
                    ? $D
                    : R["value"]
                : $D
            : $D
        : $D

    Type Parameters

    • $D
    • $O extends Record<string, any>
    • $B extends $Branch<any> | unknown
    +_OLast | type-plus - v8.0.0-beta.6

    Type Alias _OLast<$D, $O, $B>

    _OLast<$D, $O, $B>: $B extends $Branch<any>
        ? $B["value"] extends keyof $O
            ? $O[$B["value"]] extends infer R extends $Override<any>
                ? [R, never] extends [never, R]
                    ? $D
                    : R["value"]
                : $D
            : $D
        : $D

    Type Parameters

    • $D
    • $O extends Record<string, any>
    • $B extends $Branch<any> | unknown
    diff --git a/types/_ResolveBranch._Override.html b/types/_ResolveBranch._Override.html index 1f35b3877..18f1a9fc6 100644 --- a/types/_ResolveBranch._Override.html +++ b/types/_ResolveBranch._Override.html @@ -1 +1 @@ -_Override | type-plus - v8.0.0-beta.6

    Type Alias _Override<$D, $O, $B>

    _Override<$D, $O, $B>: $B extends [infer B]
        ? _OLast<$D, $O, B>
        : $B extends [infer B, ...(infer Bs extends ($Branch<any> | unknown)[])]
            ? _OLast<_Override<$D, $O, Bs>, $O, B>
            : never

    Type Parameters

    • $D
    • $O extends Record<string, any>
    • $B extends ($Branch<any> | unknown)[]
    +_Override | type-plus - v8.0.0-beta.6

    Type Alias _Override<$D, $O, $B>

    _Override<$D, $O, $B>: $B extends [infer B]
        ? _OLast<$D, $O, B>
        : $B extends [infer B, ...(infer Bs extends ($Branch<any> | unknown)[])]
            ? _OLast<_Override<$D, $O, Bs>, $O, B>
            : never

    Type Parameters

    • $D
    • $O extends Record<string, any>
    • $B extends ($Branch<any> | unknown)[]
    diff --git a/types/_ResolveOptions.html b/types/_ResolveOptions.html index 830085e43..a5f0a9402 100644 --- a/types/_ResolveOptions.html +++ b/types/_ResolveOptions.html @@ -2,4 +2,4 @@

    Resolve options to the first non unknown value.

    The Values are assumed to be a tuple with at least one value. These checks are not performed for performance considerations.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_Select-1.html b/types/_Select-1.html index 6bd593cfa..066692df6 100644 --- a/types/_Select-1.html +++ b/types/_Select-1.html @@ -19,4 +19,4 @@
    type R = $Select<undefined, undefined, $SelectionBranch> // $Then
    type R = $Select<string, undefined, $SelectionBranch> // $Else
    -
    +
    diff --git a/types/_Select._.html b/types/_Select._.html index 01acb0823..b5c8dc0f0 100644 --- a/types/_Select._.html +++ b/types/_Select._.html @@ -1 +1 @@ -_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, U, $O>

    _<T, U, $O>: $IsDistributive<$O> extends true
        ? $Select._D<T, U, $O>
        : $Select._N<T, U, $O>

    Type Parameters

    +_ | type-plus - v8.0.0-beta.6

    Type Alias _<T, U, $O>

    _<T, U, $O>: $IsDistributive<$O> extends true
        ? $Select._D<T, U, $O>
        : $Select._N<T, U, $O>

    Type Parameters

    diff --git a/types/_Select._Branch.html b/types/_Select._Branch.html index da06cc331..49dfbf138 100644 --- a/types/_Select._Branch.html +++ b/types/_Select._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $SelectionBranch & $O

    Type Parameters

    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch<$O>

    $Branch<$O>: $SelectionBranch & $O

    Type Parameters

    diff --git a/types/_Select._D.html b/types/_Select._D.html index abc0fa6ca..bd3bab62d 100644 --- a/types/_Select._D.html +++ b/types/_Select._D.html @@ -1 +1 @@ -_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, U, $O>

    _D<T, U, $O>: T extends U
        ? $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_D | type-plus - v8.0.0-beta.6

    Type Alias _D<T, U, $O>

    _D<T, U, $O>: T extends U
        ? $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/_Select._Default.html b/types/_Select._Default.html index 435f751c6..299f5eb5a 100644 --- a/types/_Select._Default.html +++ b/types/_Select._Default.html @@ -1 +1 @@ -$Default | type-plus - v8.0.0-beta.6

    Type Alias $Default

    +$Default | type-plus - v8.0.0-beta.6

    Type Alias $Default

    diff --git a/types/_Select._N.html b/types/_Select._N.html index 3a172cf25..577dfa8c9 100644 --- a/types/_Select._N.html +++ b/types/_Select._N.html @@ -1 +1 @@ -_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, U, $O>

    _N<T, U, $O>: [T] extends [U]
        ? $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    +_N | type-plus - v8.0.0-beta.6

    Type Alias _N<T, U, $O>

    _N<T, U, $O>: [T] extends [U]
        ? $ResolveBranch<T, $O, [$Then]>
        : $ResolveBranch<T, $O, [$Else]>

    Type Parameters

    diff --git a/types/_Select._Options.html b/types/_Select._Options.html index bd8e13ae5..27984f5c0 100644 --- a/types/_Select._Options.html +++ b/types/_Select._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6

    Type Alias $Options

    +$Options | type-plus - v8.0.0-beta.6

    Type Alias $Options

    diff --git a/types/_SelectionBranch.html b/types/_SelectionBranch.html index 896483c64..a1b42c44e 100644 --- a/types/_SelectionBranch.html +++ b/types/_SelectionBranch.html @@ -6,4 +6,4 @@

    Type Parameters

    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Branch
    > = ...

    namespace YourType {
    export type $Options = $SelectionOptions
    export type $Branch = $SelectionBranch
    }

    type R = YourType<T> extends infer R
    ? R extends $Then ? HandleThen
    : R extends $Else ? HandleElse
    : never
    -
    +
    diff --git a/types/_SelectionFilter.html b/types/_SelectionFilter.html index 0fd3fde1a..80d616e72 100644 --- a/types/_SelectionFilter.html +++ b/types/_SelectionFilter.html @@ -5,4 +5,4 @@

    Type Parameters

    type YourType<
    T,
    Options extends YourType.$Options = YourType.$Default> = ...

    namespace YourType {
    export type $Options = $SelectionOptions
    export type $Default = $SelectionFilter
    }

    type R = YourType<ThenType> // ThenType
    type X = YourType<ElseType> // never
    -
    +
    diff --git a/types/_SelectionOptions.html b/types/_SelectionOptions.html index f35cc09a3..209757704 100644 --- a/types/_SelectionOptions.html +++ b/types/_SelectionOptions.html @@ -10,4 +10,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Branch
    > = ...

    namespace YourType {
    export type $Options = $SelectionOptions
    export type $Branch = $SelectionBranch
    }
    -
    +
    diff --git a/types/_SelectionPredicate.html b/types/_SelectionPredicate.html index fd995e437..8dea95892 100644 --- a/types/_SelectionPredicate.html +++ b/types/_SelectionPredicate.html @@ -4,4 +4,4 @@
    type YourType<
    T,
    Options extends YourType.$Options = YourType.$Default> = ...

    namespace YourType {
    export type $Options = $SelectionOptions
    export type $Default = $SelectionPredicate
    }

    type R = YourType<ThenType> // true
    type X = YourType<ElseType> // false
    -
    +
    diff --git a/types/_SpecialType-1.html b/types/_SpecialType-1.html index 6aec01536..1e7888c16 100644 --- a/types/_SpecialType-1.html +++ b/types/_SpecialType-1.html @@ -1,3 +1,3 @@ $SpecialType | type-plus - v8.0.0-beta.6

    Type Alias $SpecialType<T, $O>

    $SpecialType<T, $O>: 0 extends 1 & T
        ? $ResolveBranch<T, $O, [$Any, $Then]>
        : [T, unknown] extends [unknown, T]
            ? $ResolveBranch<T, $O, [$Unknown, $Then]>
            : [T, never] extends [never, T]
                ? $ResolveBranch<T, $O, [$Never, $Then]>
                : $ResolveBranch<T, $O, [$Else]>

    🧰 type util

    A type utility to handle special types: any, unknown, and never.

    -

    Type Parameters

    +

    Type Parameters

    diff --git a/types/_SpecialType._Branch.html b/types/_SpecialType._Branch.html index f567b28d9..6dd7f352e 100644 --- a/types/_SpecialType._Branch.html +++ b/types/_SpecialType._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6
    +$Branch | type-plus - v8.0.0-beta.6
    diff --git a/types/_SpecialType._Options.html b/types/_SpecialType._Options.html index 65d3d5e0e..fd9f727ce 100644 --- a/types/_SpecialType._Options.html +++ b/types/_SpecialType._Options.html @@ -1 +1 @@ -$Options | type-plus - v8.0.0-beta.6
    +$Options | type-plus - v8.0.0-beta.6
    diff --git a/types/_Then-1.html b/types/_Then-1.html index bd3265d27..97844ef43 100644 --- a/types/_Then-1.html +++ b/types/_Then-1.html @@ -1 +1 @@ -$Then | type-plus - v8.0.0-beta.6

    Type Alias $Then

    $Then: $Branch<"$then">
    +$Then | type-plus - v8.0.0-beta.6

    Type Alias $Then

    $Then: $Branch<"$then">
    diff --git a/types/_Then._Branch.html b/types/_Then._Branch.html index 241851474..169a484eb 100644 --- a/types/_Then._Branch.html +++ b/types/_Then._Branch.html @@ -1 +1 @@ -$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch

    $Branch: {
        $else: $Then;
    }
    +$Branch | type-plus - v8.0.0-beta.6

    Type Alias $Branch

    $Branch: {
        $else: $Then;
    }
    diff --git a/types/_Unknown-1.html b/types/_Unknown-1.html index 41200e36e..5a3aa0eaf 100644 --- a/types/_Unknown-1.html +++ b/types/_Unknown-1.html @@ -1,3 +1,3 @@ $Unknown | type-plus - v8.0.0-beta.6

    Type Alias $Unknown

    $Unknown: $Branch<"$unknown">

    🧰 type util

    A special branch for unknown check to represent the value is unknown.

    -
    +
    diff --git a/types/_Unknown._Branch.html b/types/_Unknown._Branch.html index b0e059dc1..62de0a475 100644 --- a/types/_Unknown._Branch.html +++ b/types/_Unknown._Branch.html @@ -4,4 +4,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Unknown.$Options
    export type $Branch = $Unknown.$Branch
    }

    type R = YourType<T, YourType.$Branch> extends $Unknown ? HandleUnknown : HandleOthers
    -
    +
    diff --git a/types/_Unknown._Options.html b/types/_Unknown._Options.html index ac0f054aa..a1dc436c7 100644 --- a/types/_Unknown._Options.html +++ b/types/_Unknown._Options.html @@ -3,4 +3,4 @@
    type YourType<
    T,
    $Options extends YourType.$Options = YourType.$Default
    > = ...

    namespace YourType {
    export type $Options = $Unknown.$Options
    export type $Branch = $Unknown.$Branch
    }
    -
    +
    diff --git a/types/testType.InspectedType.html b/types/testType.InspectedType.html index a51a1bef4..701701db2 100644 --- a/types/testType.InspectedType.html +++ b/types/testType.InspectedType.html @@ -1 +1 @@ -InspectedType | type-plus - v8.0.0-beta.6

    Type Alias InspectedType<T>

    InspectedType<T>: {
        extends_1: T extends 1
            ? true
            : false;
        extends_1n: T extends 1n
            ? true
            : false;
        extends_a: T extends "a"
            ? true
            : false;
        extends_any: T extends any
            ? true
            : false;
        extends_array_unknown: T extends unknown[]
            ? true
            : false;
        extends_bigint: T extends bigint
            ? true
            : false;
        extends_boolean: T extends boolean
            ? true
            : false;
        extends_false: T extends false
            ? true
            : false;
        extends_function: T extends Function
            ? true
            : false;
        extends_never: T extends never
            ? true
            : false;
        extends_null: T extends null
            ? true
            : false;
        extends_number: T extends number
            ? true
            : false;
        extends_object: T extends object
            ? true
            : false;
        extends_string: T extends string
            ? true
            : false;
        extends_symbol: T extends symbol
            ? true
            : false;
        extends_true: T extends true
            ? true
            : false;
        extends_tuple_empty: T extends []
            ? true
            : false;
        extends_undefined: T extends undefined
            ? true
            : false;
        extends_unknown: T extends unknown
            ? true
            : false;
        extends_void: T extends void
            ? true
            : false;
        intersect_1: T & 1;
        intersect_1n: T & 1n;
        intersect_a: T & "a";
        intersect_any: T & any;
        intersect_array_unknown: T & unknown[];
        intersect_bigint: T & bigint;
        intersect_boolean: T & boolean;
        intersect_false: T & false;
        intersect_function: T & Function;
        intersect_never: T & never;
        intersect_null: T & null;
        intersect_number: T & number;
        intersect_object: T & object;
        intersect_string: T & string;
        intersect_symbol: T & symbol;
        intersect_true: T & true;
        intersect_tuple_empty: T & [];
        intersect_undefined: T & undefined;
        intersect_unknown: T & unknown;
        intersect_void: T & void;
        type: T;
        union_1: T | 1;
        union_1n: T | 1n;
        union_a: T | "a";
        union_any: T | any;
        union_array_unknown: T | unknown[];
        union_bigint: T | bigint;
        union_boolean: T | boolean;
        union_false: T | false;
        union_function: T | Function;
        union_never: T | never;
        union_null: T | null;
        union_number: T | number;
        union_object: T | object;
        union_string: T | string;
        union_symbol: T | symbol;
        union_true: T | true;
        union_tuple_empty: T | [];
        union_undefined: T | undefined;
        union_unknown: T | unknown;
        union_void: T | void;
        extends<R>(): T extends R
            ? true
            : false;
        intersect<R>(): T & R;
        union<R>(): T | R;
    }

    Type Parameters

    • T
    +InspectedType | type-plus - v8.0.0-beta.6

    Type Alias InspectedType<T>

    InspectedType<T>: {
        extends_1: T extends 1
            ? true
            : false;
        extends_1n: T extends 1n
            ? true
            : false;
        extends_a: T extends "a"
            ? true
            : false;
        extends_any: T extends any
            ? true
            : false;
        extends_array_unknown: T extends unknown[]
            ? true
            : false;
        extends_bigint: T extends bigint
            ? true
            : false;
        extends_boolean: T extends boolean
            ? true
            : false;
        extends_false: T extends false
            ? true
            : false;
        extends_function: T extends Function
            ? true
            : false;
        extends_never: T extends never
            ? true
            : false;
        extends_null: T extends null
            ? true
            : false;
        extends_number: T extends number
            ? true
            : false;
        extends_object: T extends object
            ? true
            : false;
        extends_string: T extends string
            ? true
            : false;
        extends_symbol: T extends symbol
            ? true
            : false;
        extends_true: T extends true
            ? true
            : false;
        extends_tuple_empty: T extends []
            ? true
            : false;
        extends_undefined: T extends undefined
            ? true
            : false;
        extends_unknown: T extends unknown
            ? true
            : false;
        extends_void: T extends void
            ? true
            : false;
        intersect_1: T & 1;
        intersect_1n: T & 1n;
        intersect_a: T & "a";
        intersect_any: T & any;
        intersect_array_unknown: T & unknown[];
        intersect_bigint: T & bigint;
        intersect_boolean: T & boolean;
        intersect_false: T & false;
        intersect_function: T & Function;
        intersect_never: T & never;
        intersect_null: T & null;
        intersect_number: T & number;
        intersect_object: T & object;
        intersect_string: T & string;
        intersect_symbol: T & symbol;
        intersect_true: T & true;
        intersect_tuple_empty: T & [];
        intersect_undefined: T & undefined;
        intersect_unknown: T & unknown;
        intersect_void: T & void;
        type: T;
        union_1: T | 1;
        union_1n: T | 1n;
        union_a: T | "a";
        union_any: T | any;
        union_array_unknown: T | unknown[];
        union_bigint: T | bigint;
        union_boolean: T | boolean;
        union_false: T | false;
        union_function: T | Function;
        union_never: T | never;
        union_null: T | null;
        union_number: T | number;
        union_object: T | object;
        union_string: T | string;
        union_symbol: T | symbol;
        union_true: T | true;
        union_tuple_empty: T | [];
        union_undefined: T | undefined;
        union_unknown: T | unknown;
        union_void: T | void;
        extends<R>(): T extends R
            ? true
            : false;
        intersect<R>(): T & R;
        union<R>(): T | R;
    }

    Type Parameters

    • T
    diff --git a/variables/JSONTypes-1.html b/variables/JSONTypes-1.html index 932946e08..12d717fd9 100644 --- a/variables/JSONTypes-1.html +++ b/variables/JSONTypes-1.html @@ -1 +1 @@ -JSONTypes | type-plus - v8.0.0-beta.6

    Variable JSONTypes

    JSONTypes: {
        get: (<T>(obj: JSONTypes, ...props: (string | number)[]) => T | undefined);
    }
    +JSONTypes | type-plus - v8.0.0-beta.6

    Variable JSONTypes

    JSONTypes: {
        get: (<T>(obj: JSONTypes, ...props: (string | number)[]) => T | undefined);
    }
    diff --git a/variables/MaybePromise-1.html b/variables/MaybePromise-1.html index e2897758e..54964fa51 100644 --- a/variables/MaybePromise-1.html +++ b/variables/MaybePromise-1.html @@ -4,4 +4,4 @@ transform the resolved value of the promise.

    Type Parameters

    Parameters

    Returns T extends Promise<any>
        ? Promise<R>
        : R

    the transformed result, or if the value is a promise, a new promse with the transformed result.

    -
    +
    diff --git a/variables/testType-1.html b/variables/testType-1.html index a2918897a..9d7d4d994 100644 --- a/variables/testType-1.html +++ b/variables/testType-1.html @@ -2,4 +2,4 @@

    This is designed specifically for testing. The return value is the input expected parameter asserted as the first type parameter, so that the type can be further inspected.

    -
    +