Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICodeCell

A code cell.

Hierarchy

Index

Properties

cell_type

cell_type: "code"

String identifying the type of cell.

execution_count

execution_count: number

The code cell's prompt number. Will be null if the cell has not been run.

Optional id

id: string

A string field representing the identifier of this particular cell.

Notebook format 4.4 requires no id field, but format 4.5 requires an id field. We need to handle both cases, so we make id optional here.

metadata

metadata: Partial<ICodeCellMetadata>

Cell-level metadata.

outputs

outputs: IOutput[]

Execution, display, or stream outputs.

source

Contents of the cell, represented as an array of lines.

Generated using TypeDoc