diff --git a/functions/amend.html b/functions/amend.html index 8833ebc91..109de1022 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 efdc49c02..6d6067338 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 9c0c0a445..def3b8464 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 13b713925..a59c42340 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 3bc299e63..8d3bc9be7 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 b1915c955..970048a61 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 cbcc691fd..d94d8bf29 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 398c9227b..deec0f40b 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 2ef2a826d..1d950f991 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 2808478d0..7c242ec36 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 5b8aa4fb6..56497b3d6 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 668a5513b..ec0be5fe0 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 7182a0cab..e37e35725 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 cf75bde61..0b576b8b0 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 aca51031b..c85aaa3c2 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 5569b5dd2..c2ed7ed06 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 491332c2d..55c7dbff9 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 3c521c62d..55b3f22ad 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 2185b7e96..c3c395108 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 deb210938..d80a798db 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 a60588002..6aa4527f5 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 f5dede72e..04f4282c3 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 b2287f03b..468af71fa 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 f68853929..5fae4a715 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 1a2da7d76..dd356c548 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 f8607997f..837b5ca72 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 e25c1d2ce..a2b2775b5 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 a37328e55..d7093de7b 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 c11b58ebe..59a5317c4 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 f17b92fe5..3e4261dfe 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 a16af5629..86bac0d42 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 92c20c6d1..c57b6b388 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 9c1847ac6..aca10c29c 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 8337d1c01..b6746553c 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 3db178566..4fccdedb0 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 a79737dc6..f8a167b4a 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 1da6c1955..07df7efa2 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 6df05baa7..6194665d8 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 a26e987c4..424c29630 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 3e8fc8728..ea542577f 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 88d9373b6..d952a71c6 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 9347c71fd..6524b1400 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 a209f1c8a..a833e6d02 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 808b6b3bd..476d6f651 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 180594b1a..741c85ee5 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 14fd2681b..62b74e7a3 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 749f11190..e211c8ed1 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 e8ecd4af5..26b3601ce 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 dd95b9c9c..67090d454 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 8aedec8b7..b74c445f4 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 eb5447423..429c605f8 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 6227f2399..c9e79c536 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 a2c9aa49a..399d6b036 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 74be92d57..5dc7600d8 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 ec8c26da1..b6869868e 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 d3ab6ae57..e5917bfd1 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 8eb7daded..03ed43ff6 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 9b5d4f4b6..ab1870d26 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 2aa486f9e..208d3bfeb 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 f86af20c5..9a395a73d 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 a5d7af4e9..b92dc1d52 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 79ef342fe..1dcceb0ec 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 eda4f21b4..ff4a403ce 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 007bea166..8e3b5005e 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 065d6c808..b5a572711 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 ec8c2162a..24ce77380 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 4245633ff..e90c23ad6 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 c733b764a..cf898f558 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 a3c43ee90..18a3c250c 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 d4497c94d..179b234dd 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 f7d08bcf1..fcf102eb0 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 39472df56..ceafb34b8 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 b4a8c181c..72d9f4f8d 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 1406e5488..231f7c5e0 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 26185ac6a..82fff7405 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 207a0d88c..e9256174f 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 af56b98c3..474824067 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 ae8714e49..40529bde2 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 371ea96f9..0fd242cd6 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 ee97e778a..370b8e8c1 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 2cca9663c..15b03d412 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 539377b84..72ad8ea1c 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 7194caa6e..9cbb127c9 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 a5ea04ab3..cee3f3ae2 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 740516f5b..5dc3311a3 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 87fdcffc6..fb0b1d6b2 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 22aeaf2a3..cdf1a73f9 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 319fb64e8..2ddfde518 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 0db7f1a77..0dfa7c152 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 4af0b1946..c408888d3 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 3aaf08600..7054a7a81 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 f4db58ac0..7457bbd57 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 59922e860..c21513483 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 bc9360ec2..4fc1046bc 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 4d45e0d66..a22d25546 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 9ea4df8b3..2c25891c4 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 6ed9509bc..d75c7ea25 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 8df72f798..3efadd1ed 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 ab35188e7..436ae48a4 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 b74456d26..ad9df7e09 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 41da4cace..e6f1b45ec 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 101c59502..4a4f0a726 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 616b48fa6..f06ae12d2 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 73d432906..1107a4313 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 1965e3405..dfdb42522 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 feff3793e..dd1edb88a 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 152c9c7c3..fffdf88d1 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 656263897..98454f252 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 1760988b4..1e045c0b1 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 804f735e9..eb6ef05b5 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 bad949c95..d3cc432de 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 85c16ce48..717728830 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 3bbf8c43b..daab4e979 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 3c5ea0b78..9539130ed 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 0ec51226e..38af6e55e 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 5dcf5673d..ab4ad31ef 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 d2ab81e9f..6933e07a4 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 9f624a81a..e24c2bd1b 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 a41687c4e..0b1204489 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 a7b6accc9..82fd38428 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 d47697cfe..37f4b7cd1 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 984aa8c5b..5b641dd4d 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 c9406476b..a5aea9dc6 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 c034cdb83..b7af4a631 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 fb6d068b7..66178f7f0 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 5759124c1..6b7fd2276 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 2dece9c3f..7e8264d0d 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 e8f0941f8..cd11e6298 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 68a94ab9f..7ecb1d955 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 66ae92073..743af379e 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 ae65b83d4..20072bfb9 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 a1c7d96ae..73e677a0d 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 b91eb5cc4..5d23f2da0 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 5a82f82b3..89e3782a9 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 d27cde61b..de6f928f8 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 97cddcc30..8dc49f820 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 18e4664b1..26aa1ce49 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 026e3c2fb..51ffac8f6 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 18fe1836b..90b143a4e 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 48bcd5156..4a4b00a15 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 84ad10823..98a5dbc98 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 c5739b991..ead2daf1b 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 f4ad964f2..51b729cd8 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 12b201c14..0c41b4e9e 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 1335489b9..19f1e8c5a 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 0876f712e..3bf07d775 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 bfc9eebea..e4c1e9603 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 b2fc73cb0..a0f75cf63 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 d86af5b8a..8a4522a61 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 e3997ad16..262228e14 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 87e25cc43..bc1d8fdb1 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 117b70061..54a6c6d87 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 79f4e06cc..2f86e0a43 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 f68db29ef..794b2447b 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 4c1c51d59..54f50d5c7 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 1cb86e320..fefaef613 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 c4f4d4e5e..86f578914 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 f017856a1..64d2a33f1 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 ccac382a4..62bf80417 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 f716c5988..d418968bd 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 08ef82cb6..2f28cba74 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 d61e91359..3681a69ba 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 3fd05090e..f53e0d7bb 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 e1ab96096..85fdd8897 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 206e4ade7..3e70dcb3e 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 5358ad32c..3fa4f7aff 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 8e438bc9c..0f30bcc5c 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 cd9921245..4b4136934 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 f062f21ed..cd1ff6445 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 d8bfa7e38..0cb98edc1 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 1d7bb4b03..8696ca78b 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 010de0e0d..b2848b598 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 a77fd9931..e5fed55dd 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 d983f0d14..9bf67ec18 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 0ad70532d..6402bb7ca 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 f655b060b..5b0b98548 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 fb47e21c2..3cef754f6 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 173e772d9..6b5f9df31 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 510fbeaf8..63ae6c1f1 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 c2e730c8c..34be86180 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 a63c27c32..aee802b80 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 35269cff6..3520a6640 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 e8e49dd7a..2da814918 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 ece11c0ed..8454f3662 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 3601b3332..b2c86e06e 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 8d5612934..0a0bfc2c7 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 1ec592c4a..91c818eb7 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 1577e8316..b4b5c4c8e 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 e2c5916ae..347dcecb4 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 20bf10f95..66c14156c 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 45877ea3c..dc6000d3b 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 593210f38..45dc88536 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 36730dbfc..a7c78ad9c 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 72fda55a7..f3d84cc09 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 eea0aee07..2e313f6b2 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 0b1f3a21f..1dac17a72 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 6b0cfdbd8..0551e3c31 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 f01d5aea8..d62db118a 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 8b17a4d86..5af01eebe 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 d802542fb..f811f352a 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 d27da5123..25ad6b871 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 ac574c03a..0b7cf0a19 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 93151ea1c..e6d6ac145 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 657918d34..5dcae834a 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 a6c9783c4..cef377fbb 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 d8230e510..74ebd0615 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 596c176df..9b3b8c3f7 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 09cdf293b..33c7cd346 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 10ff81615..b604a13cf 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 9dbe2c9a2..75b0a3e0e 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 ed9beba87..972aa8d57 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 d5c560cd7..5dbeb2da9 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 d8079be4b..ec5bc9983 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 b5dadf792..1b870f2ed 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 bd541e5da..5ae3631f0 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 b927fb290..31c454602 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 b66a6a520..d2790d275 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 e8b7edd54..1a141756d 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 64468fc1f..a8b78c4aa 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 50c55e2a9..bcc7d386a 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 582457e0a..264a1276c 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 7b2a7426b..4131678a9 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 65367a348..fe028ac93 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 66bf92e94..cc6004395 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 c022a0fd3..4514ec90a 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 2dec00069..90f22a64f 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 c40cfa330..f0d44a231 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 cc5351089..92a7620c1 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 57b89230f..bc032a649 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 a567c9fd5..fcaff1664 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 bc9374f09..7cc3e4d32 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 6fa218a2b..52f7728d9 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 9016ee896..2ffb80082 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 091130516..d788da9e3 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 b82131b91..0bb11e166 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 0e4c40f61..8a66c9497 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 96912ae28..bbd6d2ad2 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 f75f711c4..fd627f688 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 d8b9f667a..919ba961b 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 27529d08d..1b6519524 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 e36c70ccb..f4170f03e 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 c3214aeef..df60ce7cd 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 0892cf8c3..a7190fb4e 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 097ca3715..6b13f26e2 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 e9f9eacfe..eb70c9495 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 1304b35be..74f9252c6 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 406c953a1..da324e19e 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 cf68716b0..52e83846e 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 7ddb56e84..44f2c4c5b 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 6cfdf4d33..b9421ddd3 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 9f23042d1..fd385df25 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 41878a291..1901618ca 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 f349b5922..ddfde63c7 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 f3714be92..8413959a7 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 6ffa80b33..6812a7a51 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 9d5482a48..7ed1789e6 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 afff10eb0..288d9bb1b 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 8ba373f63..8efc51c2c 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 e152d0aae..1af31dc43 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 c3f8a5510..3f7da35a0 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 773911597..b162a624e 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 7d46132d6..4dac5c13d 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 d445163b5..8120a1376 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 efd2b7844..ec0051534 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 58f8dfdbf..87d203616 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 11146c476..6239314c3 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 4664cc153..549f94e93 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 dc9d80d7f..c5f79b539 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 a4bfb1c18..9e75002c5 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 d0122653c..8c30b8f04 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 d5f97c424..319d88b7e 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 015c608d8..267eaab35 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 a6e6b693d..d4a454387 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 34dec2006..c74cd2bf9 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 8b55df74d..884218f11 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 77e28f587..7af8c3da1 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 a3fc85f58..c444d85f3 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 88e1350dc..cf070cb08 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 701149a21..0e5f68ad8 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 a9d699e34..b132a18ec 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 3813358f2..5ac785c06 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 c4f61dc19..26f3e10ea 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 8c2b8c4d4..1f40b1088 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 ce182d785..9ee29852d 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 b075c0187..9ce403f51 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 a4d8626e1..bde2d63f5 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 94958b37e..678c659e6 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 3d2e68d91..acf2c0060 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 fe7ca5fbc..9d7b300df 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 7ea64a424..37d66d5da 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 1e7938ead..5c585e211 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 59a86129b..c26e8b38a 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 c481c4586..48518bade 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 41befdf68..c96070fcc 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 833fade21..d6ccd089b 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 0ea740b8d..dd215e258 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 55bd92bca..5be325b4c 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 7589a1240..2c17334c4 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 9a8cf6acf..45186dcb1 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 31a2c2764..3114e7fea 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 a8e6f8640..d3ecdfb51 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 40845a6e2..c88fa8aac 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 02793fc4c..cfa78747f 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 f300fe7a1..b8d2a19c4 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 9cc661b57..5e83999ac 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 62cbcc550..26ec090bd 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 6ef2f38fb..abac8160e 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 e565cc7ed..e84904fc3 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 f1c5dd5c3..716ecdfb3 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 4c2c3bbfa..3852e1aaf 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 2fe86e7a9..04e14d568 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 48695f335..fcdbc4d76 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 de5945490..857c05e50 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 b2c1fe7b8..709157368 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 07a4b7c82..3ce95f3a2 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 7b63d25f8..431dc510c 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 048199579..bbda7f9e9 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 00f337fc5..402500036 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 e12b3c98a..de3c96377 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 0f6ef65c0..d78081eb2 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 cccb6ab6d..9e980a5d7 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 ab15d2d72..186339e60 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 6cfd2a7de..b77cdb052 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 e18917ffe..946d53d9b 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 9b021121c..51603003a 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 33778a08c..53fcecf00 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 96006c5d9..d4613c0d5 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 de2c59a64..fb216bcfb 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 f355d79ca..df4894357 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 6f11f71ef..0427f9753 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 0daade0d8..0894bcb2d 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 eec46f600..c6759705c 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 23f5003bc..9f19d8adc 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 96ef0ce58..7bd4c5552 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 18caad007..2aeba7f91 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 5b7cd2810..69ede5c86 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 429b96f94..869fb7fb6 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 464da3688..5e3e664ec 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 0e4074d9d..55d01ce0a 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 3a230b2a1..897f90ca9 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 fb26600ba..a4f8d75ab 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 cf83c52fe..2e0d35f39 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 20ef3fc0e..5fd3ed004 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 61c93f3b6..106eac08a 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 aa302420d..3a9fd865e 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 3bd79fd86..c0cee8719 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 c5e5b484d..2d5eb6be8 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 7854f0235..32ba87a9d 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 dfd36c9a2..a44244bb5 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 f981a4947..138fee320 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 93648974e..398f0c79e 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 8a49c6042..a6de2cea5 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 40f03ba0b..2e2fd0eee 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 a1dd598b2..be096ce53 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 5d53e5c66..272cbbe98 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 a4255971a..bd09eab9d 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 ef7707bbd..7128ec97d 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 766edce45..a51e3b005 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 546f636fa..631304cd4 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 a6b76e511..5c7678bce 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 94de387c0..14a8406aa 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 e248812ff..dfee82d33 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 c2a47ffed..f873233d3 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 d2514064c..9ace9b569 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 850856a55..86cc4abe5 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 8b3e67c20..02a5965c7 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 75e6dc57d..8313b3ec2 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 20031437d..5ebc9fc6c 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 c8c315baa..51d33049b 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 8ba66be88..cbce75081 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 75bffde47..4b35b3b0a 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 155f46f13..73bb43470 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 d68fb01cb..416982be8 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 af0c0c52a..e86db7ad8 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 58fd0875f..2f793c841 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 e51c2367a..90607393f 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 6a47df5ee..6c10ac3d7 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 a1299b477..53838d9e3 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 df7e94a51..f1c625c95 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 4e3d890b2..59a9677e6 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 f5c62207b..877657b3c 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 27e94eabb..b632ee952 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 2338d5d7f..bc1ddd198 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 35abbd311..d39c34f32 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 fe254d81f..cb99ce855 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 82aaec2be..df4139ff6 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 81c39cc1b..64b5d3f56 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 d7e32bf81..acfd7f493 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 f428e7256..4095f118a 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 d4f877d37..ee5f05640 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 ce17041b0..5e1195c33 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 527b3761c..f7ce1666e 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 a131848f8..38c4bdb83 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 48e9d6221..3ee4a5c0e 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 8de3b3380..5d7ece576 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 ce5db44c4..9e6a02147 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 b5455643e..bab2530ce 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 79d4a04fd..c4d95341e 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 9e88a92fa..787fb711c 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 0bc55b10e..8ae0e652b 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 75e56e3db..cae194fe2 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 95fb7bf10..74ab6faee 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 634881743..4954d4333 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 b81473217..c66242e85 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 cd26d3294..4c03dddf7 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 8300e4c89..897264cbd 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 118105e1f..6524957ff 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 8c6b62fb7..9b84c4e49 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 137147900..12023cd47 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 28c5b5acd..abe6bd8be 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 936c96063..83148c136 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 1509b0766..4f9015044 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 19d6505a6..1a0c284d9 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 a44a74c75..59bee72fc 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 efa5ceda1..834238ac7 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 edeae76ca..0ec078ef3 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 e1ab08bc7..d79f437fc 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 81c4654d8..0881e85fb 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 f2579055f..b30f8d1ff 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 4cd987264..6e95b42cb 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 176005edc..d78356277 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 c01060905..780d669be 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 9f90a8d1e..ff8ee8eb0 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 97ee0a1df..5b85f1bbe 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 2cf7bf7d7..403a7e6e0 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 b001fa6cc..fcbc4cd24 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 840dfd782..2f85c4e8c 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 3255e64c5..0d0feb1bd 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 db6fbd594..7b0afabda 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 0f28d17aa..ee32d2e0b 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 e321ac31d..ca38f3dc1 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 46b410b15..03a274f17 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 ca6bc7f57..d63a1044e 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 33ccf214d..e9572ca78 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 99eebe6f9..b89f57a5c 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 220c8a598..771ce6342 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 8534ff2c3..0fec5425b 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 9ea10fb5f..f4aa43537 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 ce0fd9512..0223d222f 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 5db045494..8ba5a37f5 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 d996a9c31..048d0aec4 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 d61d4706e..e1d5fbf6a 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 eb2a7b4f7..67f3a4eb8 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 550613e40..82c2e706d 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 2007a6250..030888c81 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 368ed94d8..53c48e92a 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 5ef99f8d9..271b4b07a 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 5d1ac307e..7221a12f4 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 421d1220b..86344de8c 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 4756424cf..8c8059e41 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 46118590d..a99cdf598 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 41cd6670f..4021833e7 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 433cf646c..c76dfe614 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 03447135c..d114fdec9 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 c139f0c61..ee1643f6e 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 81ca1325f..97c1cea4c 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 b93201cf9..f20fc29b0 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 a25ada7b8..7a886b674 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 17a7637cc..126ed0d84 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 6293c51d4..2f3f1de00 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 6c2583643..ba03c84e5 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 e86307ab7..aaa5a16fe 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 84ed433f7..ae17748c4 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 986247e8d..f2241385b 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 ba334fce9..c5e676751 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 3720cd7f4..03740126c 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 7d9cf7734..e138964c1 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 2dc152106..806edd602 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 154b49e9a..bae002e93 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 c5856d2f2..ad4be1c76 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 92bcc1282..6ac4293d4 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 abef4cdc6..5e507fc2f 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 6d6b866c2..4c50d9860 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 15c526b55..b34a45efa 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 b5598c688..0ae548a7d 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 3764c22e5..11a46f704 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 e5f8a7785..c823bcf19 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 4726354ac..5a4673260 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 df20bea29..79c4940d6 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 905da9413..6313b55e1 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 4b88bdf5c..aa13ec4d1 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 d9b29b998..5028e4685 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 c8be79567..ddc4792f1 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 307a55470..51150a5dd 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 c2ad8bb6f..f1a147191 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 53692c928..84f464575 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 dc3d87b8a..c0c26b9c6 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 464abe7df..e3b5583e7 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 d464a5b4f..b92ffb4c9 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 c31645cda..05a240d98 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 0b7181d08..242b838b0 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 e17f71b82..d9eccc3f0 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 357d9a506..027622baf 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 fef64376c..a05436571 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 09368fa97..a75143dc1 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 b7081500a..5a05e31a0 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 3bb81a6dd..88d4221c6 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 ba458c2a6..68246b2c6 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 e214ecfd1..fc179a326 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 893e78842..a900c54b2 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 59b184b77..9987e97d7 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 ef6b872a7..bdad452e3 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 2ef6eabc7..a0ab93e21 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 ba3465d47..69662a849 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 f20098ca8..55537f509 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 8fad86e61..627813218 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 ed2f80f33..757e61936 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 ffd8c7163..ad868d084 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 c02292fc1..41bf2ddf7 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 eead9c461..f97c68df0 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 12905c7b9..8bcd76243 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 660a550c1..90591cdcf 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 21927a37e..d71b210dc 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 efba8e516..3dc4b7f23 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 5c57a0dfb..cdc526588 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 6d3cff43d..d7d0163c0 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 0191c3165..199958f0d 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 236ecc6ae..525597f0c 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 6836d3f9f..d8d5f0905 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 031ff0572..cafd9ab8e 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 f4e481267..800ec65df 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 b23e86dd3..afd676a58 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 4403ddf84..46b4f0377 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 5a01f70a0..01893b91a 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 77a294f0a..bda3dbaf4 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 8573848df..77c4559cf 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 5fb04833e..ae8d10bb6 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 91df8687f..3f44b88e2 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 cd233ec1c..070d26091 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 791c49a53..bfa0fc9d9 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 d37e49141..8b9231e0e 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 f42d900ee..00104af90 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 fa6913529..ce94493e5 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 f605a34d3..d8d0bf997 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 ae8ad7f64..efd6ab566 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 4d94ce807..4eb52dd06 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 a23314272..76e41093c 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 a68c23376..4ee697dd0 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 ebeffbd0b..5475d80eb 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 1e04ad40b..9bb54339c 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 7351a58e7..c3b290203 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 2e3e20dce..5fa9148bb 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 368fed886..1f9857df1 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 8525eeef2..7d83cc20a 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 6caa4b034..b2f2094d0 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 fd34e3da6..a1ed4f8da 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 47620d9e1..bc64198ae 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 de9a58b94..72afdadd1 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 7dd47ce4f..8845db5c4 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 e10c31b28..eb4e1aff7 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 250b0762b..9f050fb62 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 9930d7d34..101e9e781 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 47ca16b2d..f5196a060 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 9497cff68..2623c2c17 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 73949ab40..836db9da1 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 f46875073..fc5e2f76d 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 38fc0f622..5e6a23329 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 74822636e..6a3e72878 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 2eeb6c09a..aae70936f 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 9ebac6cdc..80b15b763 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 df2e96954..b471547ae 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 6cf729719..b7480c974 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 c06a8f503..db0a759ac 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 967d4b0db..e3900509a 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 dcd22dcc4..ae04716ec 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 0f1dbce90..bee8a9c19 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 6425c11c9..2b6171a37 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 c427e5f1e..f6d57b4eb 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 65056eea8..3a526bae1 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 5ab9e6bee..8de5e340d 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 b66cbaf37..1afa99b5c 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 9527caf89..b820d4d46 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 85a115bd6..daa95efe4 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 64b7a6a9d..99ebeccd9 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 6c47bf54c..0381eb4fd 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 276e981fd..d32346dd0 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 6925f633d..7c3914f05 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 96fbf9535..e5e713a2e 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 c1847d4c3..d54d9ada8 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 83bdc74e9..0c226b1f6 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 6d9781777..8de45d125 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 ed72a646b..815bedc41 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 7491b48eb..c120d511d 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 62c9badcb..48d2049e2 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 1aa4eaa25..781e251db 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 b748e6fe0..3f2d97eff 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 c81178257..4332c46de 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 f36819af7..564f1ed11 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 fd3a17ad4..f2320806e 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 f54ab84ef..2fdb1eb7c 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 8c0f6e8dd..8c9bcea40 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 be2b90b0e..6ab8d97da 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 8753a69c9..75c092357 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 067ab20f4..47e38d1a6 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 7294b8e1f..48c3b612f 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 0968e9d16..1698207b9 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 9ece0e1ab..3fe00433c 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 088253ef1..5579b6a9a 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 0c6c52a08..d4a52b6a8 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 764b20223..86d9a7d4f 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 59ac0d45b..295165add 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 de567ca7a..853425e10 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 e9426735a..820986700 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 1e5c59f80..a9745e372 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 3ec1f5619..e21afb882 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 700f2ffbc..3b2b35847 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 d0d7438eb..78ade17ef 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 0f1a6facb..ab741b3bb 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 689317fbd..594ec51ad 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 f957110ea..2ccd1e76f 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 721dc3397..92ec2fd8c 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 887dbf22e..ca6a1d03f 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 d8fe2162b..d46099a43 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 d0b6ed776..46e4d45a9 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 6ccfb5310..49b65485d 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 bbbc621de..16a4a4056 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 30bf00f6f..1af8b394c 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 bad57534c..36d92c03b 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 4fc480ab0..fd1bb217b 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 e46d86608..638bf1aa5 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 ec0f3b64e..b9a7529c3 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 7cb770649..09b87968a 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 66430183e..f3c24facc 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 d1fdb20f0..38e720835 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 93737b171..40fb2b75c 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 9c88f81f2..656f81e2b 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 016be7baf..759f93693 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 f12c5a870..35303d949 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 f3107c770..e556f2314 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 efea72abe..f74142e3e 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 2b3c8d5da..7f002a70c 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 6ffe9758d..4b0dbefbc 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 2d0f5472a..1f8e85055 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 d7df8b75e..c6b89f659 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 2ec1cb643..9cadba761 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 cadbfbf06..73de83d01 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 b6aace2f5..e8be7f6ae 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 f4129a3c9..89e3b9674 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 df48c3840..8f4d6842b 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 fbaeee39a..da3a120fe 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 dea7c2e18..067d8ce57 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 a575425ea..61b93eca0 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 fcbe5d7cc..b861f2fa3 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 a90088daf..01033f13a 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 3a8fc7d1b..2f5078ff7 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 6b06e16bf..a9aff906f 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 cfc6327f7..fa85f5022 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 edf0ae06a..e963ac7ba 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 712220011..3aea63f22 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 38f6e576c..14549da14 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 95d79e4ba..b7f2ce7d0 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 3d0672a4f..55050c119 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 694c4514f..d5caae704 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 efbd4eb42..5652adcd7 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 079f358e1..fff713ae9 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 f41b52d08..696918600 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 80735ee0f..57367f65d 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 b0219790c..b5afe57aa 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 b1c8819ee..59368de89 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 33195967b..2aa3940ba 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 622fd88d0..1edcec65b 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 6cbce144f..408c53f2f 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 b32aadefb..a85ef6a82 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 a019f2264..0d16796ec 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 018d41009..79a43b136 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 d542412cf..b209155b9 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 1487d2ded..fac6fd4af 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 1ee62fe07..7051cd6a7 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 8b7752e7a..2a5c700a3 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 b46c2688d..91303f4af 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 a4baa5af5..5eadcefe1 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 db0285651..02c88fa48 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 b3547df36..f105739da 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 329e0b5a8..713a5fd64 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 a1079c242..ea640fe83 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 14b15c104..c08a594c9 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 cdfbf6616..c52d86fe1 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 ed94ebdd6..751f736e6 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 157412b6e..cee52a3d4 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 447eff279..bac712cf5 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 244d7cb83..91e79fbcc 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 6fe3b9d50..9fbde7e85 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 3f567faa6..694fa4632 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 2183a6185..1ba597558 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 f7f630d14..4e21e6895 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 836070bfb..963e6bc98 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 2b799161c..97d0d877e 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 07daceb7c..7c4ea05c8 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 816d2cc4a..a0893a804 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 2319c73de..12dca3877 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 04d703d52..bfc96e5cb 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 aac274db4..701994f1a 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 42dc1bf54..f12a6e65d 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 ae4033a0e..44054130e 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 bcda3100d..02ff75f57 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 183b65a4b..c0fab2acd 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 58a747299..78dec1644 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 9b91e5019..da99e2740 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 62b56ea3d..f57ca675e 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 91e247172..c494d331b 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 243e63f38..d99613e4a 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 c294313b4..393dfa78e 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 60de60efe..f70e76f04 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 b3f7c2ea2..ff2b60346 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 14a3523e5..6495478d2 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 77bf7237c..39bb8effc 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 f5475aa82..e0edd37a8 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.

    -
    +