(alias-symbol literal-type)
Returns: Symbol | undefined
**Returns:** `Symbol | undefined`
(alias-type-arguments literal-type)
Returns: readonly Type[] | undefined
**Returns:** `readonly Type[] | undefined`
(apparent-properties literal-type)
Returns: Symbol[]
**Returns:** `Symbol[]`
(base-types literal-type)
Returns: BaseType[] | undefined
**Returns:** `BaseType[] | undefined`
(call-signatures literal-type)
Returns: readonly Signature[]
**Returns:** `readonly Signature[]`
(class-or-interface? literal-type)
Returns: boolean
**Returns:** `boolean`
(constraint literal-type)
Returns: Type | undefined
**Returns:** `Type | undefined`
(construct-signatures literal-type)
Returns: readonly Signature[]
**Returns:** `readonly Signature[]`
(default literal-type)
Returns: Type | undefined
**Returns:** `Type | undefined`
(fresh-type literal-type)
Returns: FreshableType
**Returns:** `FreshableType`
(get-flags literal-type)
Returns: TypeFlags
**Returns:** `TypeFlags`
(get-symbol literal-type)
Returns: Symbol | undefined
**Returns:** `Symbol | undefined`
(index-type? literal-type)
Returns: boolean
**Returns:** `boolean`
(intersection? literal-type)
Returns: boolean
**Returns:** `boolean`
(non-nullable-type literal-type)
Returns: Type
**Returns:** `Type`
(number-index-type literal-type)
Returns: Type | undefined
**Returns:** `Type | undefined`
(number-literal? literal-type)
Returns: boolean
**Returns:** `boolean`
(pattern literal-type)
Returns: DestructuringPattern | undefined
**Returns:** `DestructuringPattern | undefined`
(properties literal-type)
Returns: Symbol[]
**Returns:** `Symbol[]`
(property literal-type property-name)
Parameters:
property-name
: string
Returns: Symbol | undefined
**Parameters:** - `property-name`: `string` **Returns:** `Symbol | undefined`
(regular-type literal-type)
Returns: FreshableType
**Returns:** `FreshableType`
(string-index-type literal-type)
Returns: Type | undefined
**Returns:** `Type | undefined`
(string-literal? literal-type)
Returns: boolean
**Returns:** `boolean`
(type-parameter? literal-type)
Returns: boolean
**Returns:** `boolean`
(union-or-intersection? literal-type)
Returns: boolean
**Returns:** `boolean`
(value literal-type)
Returns: string | number | PseudoBigInt
**Returns:** `string | number | PseudoBigInt`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close