Logo Xantham

TypeFlags Module

Composite `TypeFlags` values, computed from the cases above rather than written out.

Functions and values

Function or value Description

AnyOrUnknown

Full Usage: AnyOrUnknown

Returns: TypeFlags 3u

Any | Unknown

Returns: TypeFlags

3u

BigIntLike

Full Usage: BigIntLike

Returns: TypeFlags 4224u

BigInt | BigIntLiteral

Returns: TypeFlags

4224u

BooleanLike

Full Usage: BooleanLike

Returns: TypeFlags 8448u

Boolean | BooleanLiteral

Returns: TypeFlags

8448u

DefinitelyFalsy

Full Usage: DefinitelyFalsy

Returns: TypeFlags 15388u

StringLiteral | NumberLiteral | BigIntLiteral | BooleanLiteral | Void | Undefined | Null
active recognizer Null: 'T | null -> Choice<unit,'T>

Returns: TypeFlags

15388u

DefinitelyNonNullable

Full Usage: DefinitelyNonNullable

Returns: TypeFlags 13893600u

StringLike | NumberLike | BigIntLike | BooleanLike | EnumLike | ESSymbolLike | Object | NonPrimitive

Returns: TypeFlags

13893600u

DisjointDomains

Full Usage: DisjointDomains

Returns: TypeFlags 12812284u

NonPrimitive | StringLike | NumberLike | BigIntLike | BooleanLike | ESSymbolLike | VoidLike | Null
active recognizer Null: 'T | null -> Choice<unit,'T>

Returns: TypeFlags

12812284u

ESSymbolLike

Full Usage: ESSymbolLike

Returns: TypeFlags 16896u

ESSymbol | UniqueESSymbol

Returns: TypeFlags

16896u

EnumLike

Full Usage: EnumLike

Returns: TypeFlags 98304u

Enum | EnumLiteral

Returns: TypeFlags

98304u

Freshable

Full Usage: Freshable

Returns: TypeFlags 80896u

Enum | Literal
Multiple items
type LiteralAttribute = inherit Attribute new: unit -> LiteralAttribute

--------------------
new: unit -> LiteralAttribute

Returns: TypeFlags

80896u

IncludesConstrainedTypeVariable

Full Usage: IncludesConstrainedTypeVariable

Returns: TypeFlags 536870912u

Reserved1

Returns: TypeFlags

536870912u

IncludesEmptyObject

Full Usage: IncludesEmptyObject

Returns: TypeFlags 67108864u

Conditional

Returns: TypeFlags

67108864u

IncludesError

Full Usage: IncludesError

Returns: TypeFlags 1073741824u

Reserved2

Returns: TypeFlags

1073741824u

IncludesInstantiable

Full Usage: IncludesInstantiable

Returns: TypeFlags 16777216u

Substitution

Returns: TypeFlags

16777216u

IncludesMask

Full Usage: IncludesMask

Returns: TypeFlags 416808959u

Any | Unknown | Primitive | Never | Object | Union | Intersection | NonPrimitive | TemplateLiteral | StringMapping

Returns: TypeFlags

416808959u

IncludesMissingType

Full Usage: IncludesMissingType

Returns: TypeFlags 524288u

TypeParameter

Returns: TypeFlags

524288u

IncludesNonWideningType

Full Usage: IncludesNonWideningType

Returns: TypeFlags 2097152u

Index

Returns: TypeFlags

2097152u

IncludesWildcard

Full Usage: IncludesWildcard

Returns: TypeFlags 33554432u

IndexedAccess

Returns: TypeFlags

33554432u

Instantiable

Full Usage: Instantiable

Returns: TypeFlags 132644864u

InstantiableNonPrimitive | InstantiablePrimitive

Returns: TypeFlags

132644864u

InstantiableNonPrimitive

Full Usage: InstantiableNonPrimitive

Returns: TypeFlags 117964800u

TypeVariable | Conditional | Substitution

Returns: TypeFlags

117964800u

InstantiablePrimitive

Full Usage: InstantiablePrimitive

Returns: TypeFlags 14680064u

Index | TemplateLiteral | StringMapping

Returns: TypeFlags

14680064u

Intrinsic

Full Usage: Intrinsic

Returns: TypeFlags 393983u

Any | Unknown | String | Number | BigInt | ESSymbol | Void | Undefined | Null | Never | NonPrimitive
module String from Microsoft.FSharp.Core
active recognizer Null: 'T | null -> Choice<unit,'T>

Returns: TypeFlags

393983u

Literal

Full Usage: Literal

Returns: TypeFlags 15360u

StringLiteral | NumberLiteral | BigIntLiteral | BooleanLiteral

Returns: TypeFlags

15360u

Narrowable

Full Usage: Narrowable

Returns: TypeFlags 536575971u

Any | Unknown | StructuredOrInstantiable | StringLike | NumberLike | BigIntLike | BooleanLike | ESSymbol | UniqueESSymbol | NonPrimitive

Returns: TypeFlags

536575971u

NotPrimitiveUnion

Full Usage: NotPrimitiveUnion

Returns: TypeFlags 286523411u

Any | Unknown | Void | Never | Object | Intersection | IncludesInstantiable

Returns: TypeFlags

286523411u

Nullable

Full Usage: Nullable

Returns: TypeFlags 12u

Undefined | Null
active recognizer Null: 'T | null -> Choice<unit,'T>

Returns: TypeFlags

12u

NumberLike

Full Usage: NumberLike

Returns: TypeFlags 67648u

Number | NumberLiteral | Enum

Returns: TypeFlags

67648u

ObjectFlagsType

Full Usage: ObjectFlagsType

Returns: TypeFlags 403963917u

Any | Nullable | Never | Object | Union | Intersection

Returns: TypeFlags

403963917u

PossiblyFalsy

Full Usage: PossiblyFalsy

Returns: TypeFlags 15868u

DefinitelyFalsy | String | Number | BigInt | Boolean
module String from Microsoft.FSharp.Core

Returns: TypeFlags

15868u

Primitive

Full Usage: Primitive

Returns: TypeFlags 12713980u

StringLike | NumberLike | BigIntLike | BooleanLike | EnumLike | ESSymbolLike | VoidLike | Null
active recognizer Null: 'T | null -> Choice<unit,'T>

Returns: TypeFlags

12713980u

Simplifiable

Full Usage: Simplifiable

Returns: TypeFlags 102760448u

IndexedAccess | Conditional | Index

Returns: TypeFlags

102760448u

Singleton

Full Usage: Singleton

Returns: TypeFlags 394239u

Any | Unknown | String | Number | Boolean | BigInt | ESSymbol | Void | Undefined | Null | Never | NonPrimitive
module String from Microsoft.FSharp.Core
active recognizer Null: 'T | null -> Choice<unit,'T>

Returns: TypeFlags

394239u

StringLike

Full Usage: StringLike

Returns: TypeFlags 12583968u

String | StringLiteral | TemplateLiteral | StringMapping
module String from Microsoft.FSharp.Core

Returns: TypeFlags

12583968u

StringOrNumberLiteral

Full Usage: StringOrNumberLiteral

Returns: TypeFlags 3072u

StringLiteral | NumberLiteral

Returns: TypeFlags

3072u

StringOrNumberLiteralOrUnique

Full Usage: StringOrNumberLiteralOrUnique

Returns: TypeFlags 19456u

StringLiteral | NumberLiteral | UniqueESSymbol

Returns: TypeFlags

19456u

StructuredOrInstantiable

Full Usage: StructuredOrInstantiable

Returns: TypeFlags 536346624u

StructuredType | Instantiable

Returns: TypeFlags

536346624u

StructuredType

Full Usage: StructuredType

Returns: TypeFlags 403701760u

Object | Union | Intersection

Returns: TypeFlags

403701760u

TypeVariable

Full Usage: TypeVariable

Returns: TypeFlags 34078720u

TypeParameter | IndexedAccess

Returns: TypeFlags

34078720u

UnionOrIntersection

Full Usage: UnionOrIntersection

Returns: TypeFlags 402653184u

Union | Intersection

Returns: TypeFlags

402653184u

Unit

Full Usage: Unit

Returns: TypeFlags 97292u

Enum | Literal | UniqueESSymbol | Nullable
Multiple items
type LiteralAttribute = inherit Attribute new: unit -> LiteralAttribute

--------------------
new: unit -> LiteralAttribute

Returns: TypeFlags

97292u

VoidLike

Full Usage: VoidLike

Returns: TypeFlags 20u

Void | Undefined

Returns: TypeFlags

20u

Type something to start searching.