CodeQL library for Swift
codeql/swift-all 6.2.2 (changelog, source)
Search

Class Raw::AnyFunctionType

INTERNAL: Do not use.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getNumberOfParamTypes

Gets the number of parameter types of this function type.

getParamType

Gets the indexth parameter type of this function type (0-based).

getResult

Gets the result of this function type.

isAsync

Holds if this type refers to an async function.

isThrowing

Holds if this type refers to a throwing function.

Inherited predicates

getCanonicalType

Gets the canonical type of this type.

from Type
getName

Gets the name of this type.

from Type
isUnknown

Holds if this element is unknown.

from Element
toStringfrom Element