Liking cljdoc? Tell your friends :D

dots.typescript.type-predicate-node


asserts-modifiercljs

(asserts-modifier type-predicate-node)

Returns: AssertsKeyword | undefined

**Returns:** `AssertsKeyword | undefined`
sourceraw docstring

child-atcljs

(child-at type-predicate-node index)
(child-at type-predicate-node index source-file)

Parameters:

  • index: number
  • source-file: SourceFile | undefined

Returns: Node

**Parameters:**
- `index`: `number`
- `source-file`: `SourceFile | undefined`

**Returns:** `Node`
sourceraw docstring

child-countcljs

(child-count type-predicate-node)
(child-count type-predicate-node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `number`
sourceraw docstring

childrencljs

(children type-predicate-node)
(children type-predicate-node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node[]`
sourceraw docstring

endcljs

(end type-predicate-node)

Returns: number

**Returns:** `number`
sourceraw docstring

first-tokencljs

(first-token type-predicate-node)
(first-token type-predicate-node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node | undefined`
sourceraw docstring

flagscljs

(flags type-predicate-node)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

(for-each-child type-predicate-node cb-node)
(for-each-child type-predicate-node cb-node cb-node-array)

Parameters:

  • cb-node: (node: Node) => T | undefined
  • cb-node-array: ((nodes: NodeArray<Node>) => T | undefined) | undefined

Returns: T | undefined

**Parameters:**
- `cb-node`: `(node: Node) => T | undefined`
- `cb-node-array`: `((nodes: NodeArray<Node>) => T | undefined) | undefined`

**Returns:** `T | undefined`
sourceraw docstring

full-startcljs

(full-start type-predicate-node)

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

(full-text type-predicate-node)
(full-text type-predicate-node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width type-predicate-node)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end type-predicate-node)

Returns: number

**Returns:** `number`
sourceraw docstring

kindcljs

(kind type-predicate-node)

Returns: SyntaxKind.TypePredicate

**Returns:** `SyntaxKind.TypePredicate`
sourceraw docstring

last-tokencljs

(last-token type-predicate-node)
(last-token type-predicate-node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node | undefined`
sourceraw docstring

leading-trivia-widthcljs

(leading-trivia-width type-predicate-node)
(leading-trivia-width type-predicate-node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `number`
sourceraw docstring

parameter-namecljs

(parameter-name type-predicate-node)

Returns: Identifier | ThisTypeNode

**Returns:** `Identifier | ThisTypeNode`
sourceraw docstring

parentcljs

(parent type-predicate-node)

Returns: SignatureDeclaration | JSDocTypeExpression

**Returns:** `SignatureDeclaration | JSDocTypeExpression`
sourceraw docstring

poscljs

(pos type-predicate-node)

Returns: number

**Returns:** `number`
sourceraw docstring

source-filecljs

(source-file type-predicate-node)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

(start type-predicate-node)
(start type-predicate-node source-file)
(start type-predicate-node source-file include-js-doc-comment?)

Parameters:

  • source-file: SourceFile | undefined
  • include-js-doc-comment?: boolean | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`
- `include-js-doc-comment?`: `boolean | undefined`

**Returns:** `number`
sourceraw docstring

textcljs

(text type-predicate-node)
(text type-predicate-node source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

typecljs

(type type-predicate-node)

Returns: TypeNode | undefined

**Returns:** `TypeNode | undefined`
sourceraw docstring

widthcljs

(width type-predicate-node)
(width type-predicate-node source-file)

Parameters:

  • source-file: SourceFileLike | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFileLike | undefined`

**Returns:** `number`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close