Skip to content

← programming package

Equal

Test whether two input objects are equal.

Note that this always compares whole objects and is not an elementwise operation (see Equal (Elementwise) for that). Version 1.0.0

Ports/Properties

data1

Input data 1.

  • verbose name: Data1
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

data2

Input data 2.

  • verbose name: Data2
  • default value: None
  • port type: Port
  • value type: object (can be None)

outdata

Result.

  • verbose name: Outdata
  • default value: None
  • port type: DataPort
  • value type: bool (can be None)
  • data direction: OUT

equal_type

Require the type to be equal as well. Note that types of nested objects are not checked, so eg [1,2,3] and [1.0, 2.0, 3.0] will be considered equal even if this is set to True.

  • verbose name: Equal Type
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)