:TS:Function
Node
→ represents a top-level TypeScript function declaration
- not to be confused with :TS:Type:Function, which represents a function type
Properties
Name | Description |
---|---|
globalFqn | global FQN of the function |
localFqn | local FQN of the function |
name | name of the function |
async (boolean) | indicates, if the function has an async modifier |
code coordinates | code coordinates of the function declaration (includes fileName ) |
Relations
Name | Target Label(s) | Cardinality | Description |
---|---|---|---|
DECLARES | :TS:TypeParameter | 0..* | type parameters that are declared by the function |
RETURNS | :TS:Type | 1 | return type of the function |
HAS | :TS:Parameter | 0..* | parameters of the function |
DEPENDS_ON | see DEPENDS_ON - Target Nodes | 0..* | dependencies of the function |