baja/comp/compUtil

API Status: Private

Description:
  • API Status: Private

Source:

Methods

(static) getComplexAndSlotFromPath(comp, slotPath) → {Object}

Source:
Since:
  • Niagara 4.15
Parameters:
Name Type Description
comp baja.Complex
slotPath string | baja.Slot | Array.<(string|baja.Slot)> | baja.SlotPath

the path of slots to follow

Returns:

the Complex found at the next-to-last slot
in the slot path (or the given Complex itself if the slot path length is 1), and the slot on
it. complex will be null if it could not be resolved from the slot path.

Type
Object