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