diff --git a/functions/amend.html b/functions/amend.html index fd70c5350..60193b9c2 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 80354c107..732878ad7 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 9d6557100..4439d34d4 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 9da9812a3..5db132db2 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 8abf68cd3..bbde1b651 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 c7aeaffc0..095f91198 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 07ee500d6..8ee78cacd 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 d8e400346..1298803b2 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 196aa3223..4bb9e0857 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 b44f40258..48060c922 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 884740548..30aadf21a 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 cb3bd3cf7..8230396e9 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 f27df2814..39b81f9b7 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 f650b1637..1b47ded05 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 a91573076..821ac4632 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 fedaa62c6..5c54f816f 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 7fd322f88..e89c59eef 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 09eac5f57..18c91cf06 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 5f53281b5..65de0dc93 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 04b68f901..a93e0f8c6 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 e426bce56..0798b20a2 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 f9dde0f0d..98620762e 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 9321bc6c0..bfb58caa8 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 46be5fde3..50b9eb370 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 df2598bd2..5720919b3 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 f7bc8af4b..5edb832c3 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 e1130cb47..626d0ef2f 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 63d00d732..2d82b0206 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 8c20864dd..c51ce1843 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 d14010bb6..cf4e2e3b6 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 53066a29b..2cf427a5d 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 4fea0f7a2..1b652a2a2 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 43c6ed4f8..b6b82c0e5 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 597eca38c..cb4fc9b81 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 7c1157977..17fc53298 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 0d1ecad15..bd412a543 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 18bb822a0..e11c9cd71 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 33a2505c5..f31c7d438 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 fdaab173a..603ae318e 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 f676e9abe..8a3ed2172 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 ef3e7b1ae..29fec6217 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 177b056fc..f5d692fe5 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 5cec1e968..2c5353d8b 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 618409898..333fcb26f 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 0cdd81042..3298eecc1 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 a0a4fa928..82fa38f12 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 2f60f0efb..b58e6d6bb 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 3ba841c47..06a2d17cb 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 021f2db48..9cf2c0303 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 4a14b2da9..e14db4bed 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 4cfc0e5cf..d7b21c871 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 7b32e6a0c..a0abfc425 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 aa6661889..a885f410d 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 72451423b..0e9e0910f 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 2bb4654fe..e4aa30703 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 fb07b46d6..9bf051bd7 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 df39bf6b3..e55e2ed0e 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 3fc635722..96724435f 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 528a5078b..a638b9045 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 f39178268..12a406b2c 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 1eafb7837..c9eb92aee 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 7e43d2542..5f7358781 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 7d6c7f5be..f34a1e181 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 16e7b47ad..f2482b60e 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 6dee37dff..4ede9ec3c 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 034b7a47b..b77c87095 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 afbe22553..a5fab676f 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 0547fda41..666ccfc9c 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 60b7a7c35..720d3c329 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 62242859b..2acd64c10 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 8cf271ffe..71e09c39b 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 ef7fa53e5..254c024dc 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 348cd329f..3ce35c0cf 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 475363af7..e86b7ccd7 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 4244d16ee..277a11aff 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 d83a14db5..11372af9d 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 3ea567333..2a8e6489d 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 59696a217..8334992c6 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 9e6ba3c81..412a70d88 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 c62581512..613484538 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 1a04db32c..588fc2e20 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 220ada4de..c09fe66ec 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 089f00270..00e8ae8e0 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 e64c3b321..e704f40ba 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 007b73029..7097c841f 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 5d61c1fe8..5cc91f491 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 447c7fd9e..a4bd2703c 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 8995e5a8c..5b88598b4 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 31e32cf7d..ef2e59a18 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 cf14e4960..7f65d5bea 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 f93477dfe..e8054e03f 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 ed40f8800..bf1011128 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 e82aa9b61..bc8f36d99 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 e77763cfd..7ff2cc702 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 28f1f96f7..214069401 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 bcbf1a44a..e2a20271f 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 6184c04a0..3cfc415f5 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 a4e55e4cd..37d9b7980 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 331f76ae0..ea69aceaf 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 ab707479b..5ed0d5270 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 e999c25cc..9653df5d5 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 71258b752..c7509e609 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 9cf9b246e..e9b9710d9 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 e3661d606..498523d06 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 5bc30afec..49a8a6793 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 dc77c896e..bce856e0a 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 92fc05fb8..d5847e307 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 34f65f77f..cca0e9033 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 8e969c923..5ffca8a19 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 8e694e609..b366fd6f8 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 fc87a7f83..fd96f533e 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 8c7d9cd43..aea73a29e 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 e5204e610..55417374f 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 6af8eddfe..0d830441b 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 4840f5622..3940f5294 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 0b952bbba..0745d663c 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 039333c10..7e5cbf9bb 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 c353db186..aaf46ef8e 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 05efb931a..a00c2bda2 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 b4cffa158..d3dae7a94 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 b2d3dea56..7cf933e8a 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 9f1a64738..8550c5097 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 02bfc3cd1..e8eadc460 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 a3c044222..6ec16b7df 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 62fac5c4c..02ff9d4b9 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 46d466c2c..fe3cfab57 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 3109d89b2..bd539d459 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 99c31aad1..908e46bc0 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 114c7a6b7..f5ded83d9 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 9d53eb236..2825d958c 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 3a4b93aab..671e5d03b 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 0b97132dd..a6ffea645 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 228327ab2..c898f5cea 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 b9a6fed99..47fb4d7b0 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 c6b8b9aa7..60cd09410 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 cd6a50ddf..8af8bc933 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 f65bdfda8..c432bb539 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 e1a69510a..915e198b8 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 a3dd2eee1..cce72cbae 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 eb55ae8be..1d16e03f0 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 d045d1719..3f775663c 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 50b00ee63..e106ea162 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 9e5a7d445..67be58777 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 4e099c8d0..17060b1ce 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 ce07a71cb..2cc8d6e15 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 515a7626e..0789d7bea 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 28ad560d3..173161569 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 39196d820..f88c894e9 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 046b126c1..753ec5bb2 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 57e2da6f9..28b30eec3 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 a2260cae1..04a831b7c 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 907f8083c..9399729d5 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 e1cba2d42..09495c628 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 c50c71937..1f7201053 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 21b5c43e0..1b6aa66f5 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 f610ab393..c49916a69 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 4aec03753..cc46f19e2 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 a4e3b6944..5f08e6278 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 7ae22335b..eb2e9d17f 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 cd26c2b54..1e1bfaca4 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 f5d09241f..a777acc53 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 5a570f3c5..73285ac89 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 10b0ad0ab..3c53ea96a 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 99e49498e..43d102f06 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 d6bc8e960..75b5141a1 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 e7d390b61..c152fd79f 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 64a065ba5..933018c03 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 bd7c5908e..a8db44d60 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 a2a3cb69d..2e28f669f 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 26266b8be..31d953b57 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 a875a88b8..400d296b2 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 08d29f649..31a443fe9 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 1b4f8c443..d11cea2f0 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 b6711312c..a2c2232e6 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 7a4587321..55fb4e276 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 c73a64e70..50e158901 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 4635be379..d9ca6bc84 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 387a51ddc..9765e2739 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 3d0faeb42..523a3f53f 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 162c1566a..44b4bd179 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 2f615c1fc..ae95b8d88 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 2d02ac62f..49ca9314d 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 8e17610d3..ee8cd75bd 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 cb20c6ef0..e9f99725b 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 199e8bef3..c849721fb 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 22d02091a..250246e86 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 78e180cf4..0de18efe7 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 6563b7777..0d5c60001 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 1c5e18a87..4f64557dc 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 57b4b9c04..b49ae589b 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 eee14f366..04e5b0d39 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 05eb8ce2e..451ad670d 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 96d0ac9d1..a8f45fe43 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 ebd4cfbd4..bf03534d8 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 675b54f39..74270cd8c 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 301b17c05..314744c3c 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 27818d0e8..547eb53c0 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 284793133..66c95d057 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 2616f399e..571512b40 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 946b5672d..85833852b 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 f65ec7a60..227caefd2 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 0ecedba83..9c26323d2 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 8ba45f3c1..b260ae876 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 62db7b6b6..aa3b85bdd 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 1748109e7..3ab7ef14b 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 ab7cc1a3c..0195042d2 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 9f8f52ac3..0efe1ae37 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 8be3aa07a..45b4bc286 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 e1a909869..3e3a76cf2 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 547473755..4e8d90c28 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 fdb018954..9a33cf2d9 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 47ee4c379..04692f175 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 192b540d6..c9d073226 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 363865f42..145baa6c4 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 5064dd248..27d131d5a 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 3bfec2028..5cc589bfa 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 26208a2f3..fc74ed094 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 15b1bdb54..17fcb0acc 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 57679e9a7..336f2c280 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 df5c1ab16..64ff88228 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 934bc8eef..67af44245 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 346695140..c6b2ee2fe 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 2acb12f69..932671441 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 7ca4f0599..de6bf0219 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 234be5468..c52f2d157 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 06570d60a..fb073dce9 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 62783a2ea..049dd8cbb 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 d00068146..398258046 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 ddaed3252..b25bcc6f1 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 7b90be7e0..d169e9c42 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 f46f660da..1bc116cd8 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 43eeabe52..657e76389 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 bf45eba24..dfadfd430 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 371a7af57..dcbab1905 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 754ddaa4e..752d370e2 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 8ac6158c0..fef21bcac 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 c37450313..77bbe07cf 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 f0e6b4eff..fde7b62ac 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 ead0cfde1..e8f117249 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 f93922a82..cd9ae0a29 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 b613e6a0e..5755b56e2 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 fcd63d4aa..ebc6fc3c7 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 f4a5d41c4..0bd09e529 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 4ba15d225..e63d82f2b 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 2e62013bc..091d93175 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 76df3c460..dfd2d0338 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 4e89b3b3e..9f213969a 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 a1903c9b9..6806b5615 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 3e6a89ddd..7e3c44eb4 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 2f3530fff..ffc814a7f 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 000067c9d..5b1662b9e 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 e8efbdb8b..ea0320ae3 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 6956df684..696e98b61 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 e094fda6b..5127a9fb8 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 1f5c52d16..59da73249 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 c42f53c42..823df727a 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 724b429fe..8cb8fd25b 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 758cafa2d..eaade376d 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 931f838b5..7e9d8d90f 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 77bfd919a..8c7926a28 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 e95821194..bf321238b 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 a06542602..179ed112d 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 c94a61c3e..cec876d92 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 c45592ef7..5d11dc6d8 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 a326c83aa..b1abc9a3a 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 9621cb511..c725de1b8 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 d5abe991c..ecfeb9570 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 709e63c2e..457cb6eaa 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 2ae7f159b..0cfc4d799 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 de3909c9a..0fde14f53 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 ef5389dd5..ecd0edcf0 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 ad85b693d..000786aff 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 3ecc67e00..1e537a60b 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 1b5db8083..af1f6f66e 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 6c0c7a874..c2e6432f0 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 630692e5e..62e9d0a1e 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 3a58a02f8..5241f51df 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 d1b0fa5b0..2ed6aabba 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 c668218e4..4e4452ff8 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 d5f9b5b13..be745430a 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 42b0c2d83..5a2f6ef33 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 d50431372..7e3d10d62 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 5e3c60850..46b59231f 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 e58d0a15d..7f2df0365 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 12ec318d2..f4eec807e 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 b90132449..5359d20e4 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 999ddefd7..30f77674b 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 f83cd5743..7f83ab14e 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 509d5198f..d45e18f1c 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 ef45b463f..06d051046 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 b099539b0..f53def7a2 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 2ce7c072f..6798e3d78 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 966541d4c..328cf2f55 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 aceabe77a..682329aec 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 001bcf7e8..64aef8a66 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 0b0f0a2e0..3018e5f4d 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 c3e60531b..6208b0489 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 107804b8b..7eb175c5c 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 f554b7ef8..1f1ef8853 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 8e75553b6..663377196 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 7478b88d0..9ad8661d1 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 56347f559..2a02845ed 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 0c927f072..40d41c27d 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 a16cf6eb3..dbf852b2a 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 3994c20ef..f72028a59 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 af7c33ffb..779020249 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 c1b358e0b..48268261c 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 dcc1eb63e..d98a9dc0a 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 6268a2851..7080cedd3 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 c5b35a12c..428dbee09 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 d9d71445e..ff77598fc 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 2e83e2fb7..2067271f5 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 d4663a44d..d81d28722 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 3d175c862..98721e215 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 08380f035..2b106d32d 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 76ac412dd..0f5d246d1 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 83de67ec5..e4fb97601 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 4aa87c8fe..9e571dbdf 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 d175c8b84..2b6cb7e34 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 213264900..87a74b61f 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 b054c33ac..c62468fe0 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 f9682876b..fe261446e 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 eead115df..d314ed59e 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 0515bb7e8..2c1ce6dc2 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 667a4008d..1de33acff 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 2e1dd319c..368dfce5d 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 615d71866..8bb49e04c 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 9465ac254..6b8dbcc69 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 a5607c661..9a4f333a7 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 53ba54edd..66e1e2a66 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 ce2c188ea..df3c2d176 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 8449a43f2..6ae2c57a3 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 816d193e0..7de6a5bf6 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 8d7edbd26..a3f4bf200 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 471178e0f..c07a207b0 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 b2a38beac..49d14f8e9 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 3c366af72..6b60a6d29 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 3cd3ada94..80dd39df4 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 84967bc2d..4cc38ec48 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 6c2f8272b..cd8245042 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 4df383d1f..d477d4d81 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 9915c6bbc..77e690c0f 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 3b732899d..fcb1da335 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 fb4949d72..106efdf41 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 1dde3c903..cdab6a9d0 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 697b06176..6f30b1e19 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 e712e6a62..c671d9ba8 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 d6c82038a..144381fa9 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 7c0920327..194159d35 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 ebdbcaee5..da2c5a429 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 5dc8bb32b..f9af1a7f7 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 101348d92..fbee75c51 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 b37ba170a..36d663d5d 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 5c5208681..cb3e5c5b8 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 8b4c52f6c..ddccb74a8 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 6a3d62f70..9a7a12766 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 62d6b99e9..8c49b0249 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 d1428a083..b97b86ebe 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 8e37a3266..f4d5b13b6 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 e8b1807be..9a4110abd 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 a6515958b..915621f4a 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 23433d247..93fd259af 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 2cc070a79..eca2dcaee 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 9fd74eea9..ec46661e5 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 71038914c..25c4d14dd 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 c646173c0..e54265de6 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 fdd30d4b8..8f957a43d 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 edad8e2b1..6f8749bc6 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 042716ccc..4d55b83fd 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 bf8709583..5237f436e 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 4d6ec6916..874f118c8 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 098ff5ab9..01dfbfda8 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 a78449cc8..ac9380daf 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 2a6623eb9..a091fd1bb 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 b6ffacaa5..4aa0358a2 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 6f981bd06..185b5e71a 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 05defb347..524ad5fa4 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 25c7bdbb2..e85291ca5 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 7182736c4..cd918255e 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 4e8d49deb..e4e8488df 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 2e3bc8ad0..b5f59ceec 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 1eb45389c..4cc836cab 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 69b733e5c..bef552c57 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 b85cd47bf..08d559594 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 1522bdfb2..0f1beab4b 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 fc94aaf9a..7cd448a85 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 49e8b88ee..6a97bc905 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 9e5a2b26d..e069029d7 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 3c4cfb2ee..3471f5d9f 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 c77ed4b3a..683b9c6a3 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 93bf078d8..3cd7dd6a2 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 518d185e2..5c1a367d4 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 401bc6144..403687419 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 9b0d4738c..251c6d618 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 d0477dc01..b161bea98 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 c59e7cc5d..3d1378d63 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 db7e9bd76..198d1bd67 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 c5a4944ee..5a63a9eba 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 e092bc4f3..27baa148a 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 47afc756e..104a136d4 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 ec2b6688d..356affbab 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 0354f0a70..57f76de36 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 72c424392..e665117a4 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 03138df32..a3aca8692 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 e9d6c6338..3a47dea16 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 2411a10c7..91c677bc0 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 24398790a..50d0f4eec 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 cbf95ba0d..0d3c0ba0f 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 b50b30199..10a0b2bdc 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 008349d68..50c618ffd 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 88b4bf2cf..b6fae74d6 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 a463707a5..3013cc4e6 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 2bdda85cb..ad2af4344 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 ac1cd11f9..ba64ae66a 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 1ab96e97f..abf0054d8 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 a85332e9d..8888b1a31 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 6d0095dc4..f104e6ea5 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 1424fb0fc..0da3eb89b 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 aaf7f13e9..c54d322b7 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 0ac77ff02..1d79b95a5 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 10471846d..a7824565b 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 69d90caa0..f991fffbb 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 e8f0c5b2c..a3c1ff6f6 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 6a3cd65c3..86caefdb0 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 8921b0798..e7df8b56e 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 198a3f441..239908833 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 cdffb6a6e..97e671118 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 0808e0e6d..375a85b0f 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 f03e55670..078035048 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 19888b4fd..a6b08ccac 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 07bf95241..b6aa56b0b 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 da3f5462e..ff0e8f10b 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 798cd0b27..335ca4c33 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 1299ef074..82ae0134b 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 c5fded00c..5c1f36b55 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 28a8ea4e9..c6dd46e48 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 23eae5bd2..4269823ca 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 facf0e2fc..79f97fab3 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 cded3685c..0cbbbcbc3 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 b704a3fc0..75506535d 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 373a3acbd..3facfdc04 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 8bb1b2180..3cab8a6d4 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 33e228ba8..30a949beb 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 b88645c5a..2bc69ac27 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 a01f3a728..efa21d918 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 2f5fd1f36..ca2a60cc3 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 c37291d30..0c45d4024 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 0f36c9f6a..1ce66cea2 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 67fd31530..d337b805e 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 104cee605..bc0702437 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 a1af099ea..9e198d522 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 e31b3c863..1c29995d1 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 6ced22b7e..20f3d30c9 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 6fb3de2e0..9d131f55e 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 d3b0e3867..400f0d2a3 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 f76192401..9a7f8e3de 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 3e9e56f77..7642811f6 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 eb265b20e..486d1a65f 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 bd28365b6..6b78d43a8 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 942082039..f38caae53 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 5d424e7e0..972e9627e 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 29da8395f..0c7175a56 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 182c381c3..4f2268c31 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 5b86e644c..ae383a266 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 494734ff5..6d26aee00 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 d55a6361d..ea4f0af0f 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 1fcc073f9..8924b27cd 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 e59d0711d..cf62e4d44 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 2ba304bc8..02f760ce8 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 d39857ac2..e523dfa18 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 016e2b049..e77e5f934 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 e6cc81bbe..ce7c5d44a 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 1fd825ea1..77eb9ca42 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 7b688da9c..adf0ee759 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 77459541b..5a0ee9a68 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 e6ff6c0a0..d68063174 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 6333752e9..27cbd407a 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 861ac6f1d..363e9c6bf 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 329b957db..d60ffe5a3 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 cc4196ef5..f02a6e147 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 b7af41059..33a9ed3bf 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 8f4766988..c58a1b98c 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 8309b2fae..cb527e780 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 8dd4cd80c..9580b445a 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 9adae61d6..fa78dbf9b 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 a7de51bb2..a67b507c2 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 e8b165370..becd1a138 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 dd444e1c9..6937df23a 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 49117b2a4..107e655df 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 da6a679bc..d222fb3f0 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 9b71e0a26..614f083af 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 abc619d44..4380381cb 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 bb8792b85..27d77b219 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 ccf3fca26..6e2fba20c 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 8e353e351..16abe37b8 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 a8e45f44d..e1939b4cf 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 77fa22300..cf6afe36c 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 bc1375ae4..a4cd398f7 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 911c9c1fe..5f958227b 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 a1774cde1..0c643a064 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 ddaad8580..f24b84504 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 39271a574..e8d5ca2a3 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 d61367c20..de2dc9ce1 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 77194201b..c2fda90d6 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 cba3afd37..a7a401615 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 b468c3d2d..261bb487f 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 925ba42ed..b3cb2f4c2 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 4207d02e7..4787a3b7a 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 9f4a7daf0..4a0aaa981 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 cb98e55cd..cd1d7ebe5 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 7915c7087..45f259ff9 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 f7f9ed379..5c0ea49b0 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 83e323065..d125b8e32 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 d9e02e8b4..f30f89819 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 adb587db3..d4a83be33 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 797a0b444..ebd74f13f 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 a0a7f7277..944bff8aa 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 5d6503897..45efe56bc 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 a34efceb3..b91233cd2 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 c75212df6..71ed79013 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 cece2588d..b2f3d9cbd 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 09598e3f9..9672b51cf 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 60078ce33..e90847b17 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 406b8ffbc..44fe0c028 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 7a9563438..6d08769a3 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 a9e36dd99..1d18d87f6 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 2817218cd..1489af796 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 d6bc7f195..a2cce272b 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 faa6b246e..3f67a95cf 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 bd97b3590..95fc4a999 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 4f790cb5d..bf6323ebb 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 190d465f6..c0c866d56 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 4a7c53371..b677e35ba 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 e7c0da9f6..30a70eb45 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 368b236cb..857a0ce3d 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 bc81c8347..6bcb6c776 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 bb59dc805..eb3f33e09 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 ae6f8a057..bcaeeb446 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 2410958fd..cf0c539a6 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 7e4003a49..1badb8240 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 5987edab5..2f3acc237 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 353cbb277..e08ab4ad9 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 10ab8aa3d..d50da8996 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 feb2d5f74..efd92108c 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 b36d24103..561be6317 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 b7355a8a6..217ce6377 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 8566b8c10..ee7ab883b 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 041d43530..de0040bbc 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 09627318c..9390c1a03 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 68a826e41..9d15fa888 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 77bd31f76..0b70913f9 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 074906b0c..848131b80 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 c29d986f2..ef16a4f15 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 34ea0e639..73314c298 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 2939441c1..a8d4c1e85 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 8303537e4..9b33e0ba3 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 aef8d1b12..dd758f5a0 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 3ecb7aecf..0dc3562a7 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 850e59024..966ad5e3d 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 24e85ceb5..a74bdc5df 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 502765787..5467d9ad7 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 ed1eccf60..30b4a53e2 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 efdd4cd1b..f927f025b 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 ce76cd7b6..c486c3592 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 175f577ec..5abd3ca28 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 1de356d3c..3047c7b52 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 2ed715270..cde7c2ac1 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 ef884b770..42b1b7db4 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 6829c5528..3d75a4674 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 ac76412e3..af6764adf 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 d83ee674d..ae1936d67 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 452d981f0..9ad173c56 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 472b22e11..7dcf69fe7 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 d55770832..ae94209f5 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 03899c8e3..758908189 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 4c1dd590a..6c350ba02 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 09836d837..6de622735 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 d33cbf316..1f9afbb1a 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 3c5674704..46db0067a 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 5c6f45e3f..a130940a1 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 4e3ccd232..dad4406bb 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 33900d3bb..cf6a6675f 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 127cdc597..9882bb660 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 2a63d5020..0f5873c54 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 0c7096217..80bce1849 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 41122c25b..0fa445838 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 1a0223758..d6ab4d287 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 a6db71a20..6e26ac8d1 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 bca39b3a8..bc1b424ca 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 750627ce5..24707ed62 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 96551d2ca..9470b2dbc 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 6734c66b7..a20fb599e 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 a8019430e..42339e988 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 88aa43ceb..3cc05132a 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 a5bb78263..8022a7ba8 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 921994f2f..8c6ff8d77 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 27113b292..add4ad22d 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 94ae8323f..e1227d71b 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 2de8d305b..8e44cef21 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 1157d50f3..414e1d4ed 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 489b98d69..c6e52dfc0 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 26620d650..a0527ddd2 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 ecc39593c..a2559cb42 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 83b227b07..544754d43 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 076c8b1fc..0e0306a8d 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 b717c9f27..6b1818452 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 aab771d38..17b17ea83 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 9ed9de1c3..926483605 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 7e1ba5eac..432166181 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 a13a96b14..1938a811e 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 fdae00057..a36a18765 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 81a49fa2f..0accff93f 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 df1284b11..3957fd77f 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 2b4a9819b..27873df9e 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 18b2bf5af..a447cae68 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 26205982c..8d339db59 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 54ce69e42..8933535e2 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 590edfbd5..c08ae7ae3 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 7eec03a32..fe149559d 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 127a0602a..c117ddbf9 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 4695bdcbf..59bd1bd01 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 3d190a0d4..8f6be8e68 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 6324a336c..4058ba14f 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 3d8508d1f..233735d7e 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 88f14bb16..d592a5293 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 a2a27e2f6..be43872c9 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 576ac604f..b87a500b4 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 5f99ebd1a..79fee571d 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 e40e1a80d..bb8af8ba5 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 847c6a31e..513756508 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 82b948fef..152a90717 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 1728ea4a8..35d3099bb 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 9876d10db..539323d80 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 45a6b4a3d..b9c3538b8 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 b5c734bcd..888c04494 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 36a765c36..36ae18519 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 bebe77c00..a30735302 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 cac40b5a2..d2e0beae8 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 5f1590ec7..68dc2267e 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 04e871ac0..12b68205c 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 50a5421f4..52e425ee3 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 3fdb210b4..48022cf09 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 a84c7c732..b77cda177 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 6666947ba..a31be31df 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 b1264f435..7b67c5c68 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 323ff7421..fc891ff83 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 f23a18ffa..a410015e2 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 b4e8b2bad..5e2d1f772 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 95ec427a5..25553a6a1 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 34e766c86..fb07ca404 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 181364dfb..127759b6a 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 067a68800..d2f23ab7e 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 f6b55d995..d67c7e0cd 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 f30b67f17..391a4a149 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 d9f9e69ad..df8de4f0f 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 93a27d6c7..5501e3d36 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 64ef8ed72..ded2a69ed 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 78f5e5494..201d07577 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 9725bb8e6..56b1ba67a 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 fd374e972..c264d616f 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 fe9ec7d1c..8ac15f72f 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 a9648ae48..3dd0d7739 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 df9422461..94b65b377 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 16b233ce8..3d19aa3a3 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 07c66e458..8dac33a3e 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 deb25883c..7bfd9113b 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 cdee1043c..2a60e4e72 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 db83079af..05105654f 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 cc97dc1b8..5238529d7 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 55d692f57..c9b79153f 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 d8996d5db..5d58d2710 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 868bb966c..4249d3fd0 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 2bf3f0da3..002a66209 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 c6830e9d5..9a76bbdc4 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 e9bec95a3..419b8ebea 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 62231b8e6..3a03f1e3f 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 fb4fdcebd..291db13ed 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 410cc3b61..52fed6a0f 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 126ded973..61bc955f5 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 752bd08a1..1378f1e7d 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 f7d3428ab..6ed57c297 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 735d2dcba..c5f8b22ca 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 0378a79c7..841a2209e 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 f80006aec..fdbba4373 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 7b08f5b06..978e42ef6 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 386737990..dfcc8f689 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 a6d27038b..744ea918f 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 b923cc893..515518fb8 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 6860b3449..d1eb4fea3 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 47d84ee4d..f911f0ba0 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 738b0d22e..967c3bff8 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 e17f5c7df..466cd3028 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 80adbad7b..f82dddee7 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 0b7bad81b..20cfe48b9 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 7e71c26f5..d08dcec61 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 bb61cf053..449af9c6c 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 c21cac20b..9876873a0 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 b7dbb7426..bc646a219 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 d4bb3b96b..ffc3a19c8 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 fcd60a58f..274cd27d1 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 d68f1d948..6410d7dab 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 26821cdeb..123380838 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 4e03a1388..f738fbea6 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 2b4cb35da..35d9d0815 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 59aa6767f..a0113c73a 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 548bf50e5..d2679573c 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 383b57cfa..279ec9a18 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.

    -
    +