check_Sequence_has_index#

pybrops.core.error.error_value_python.check_Sequence_has_index(v, vname, ix)[source]#

Check if a Sequence contains a required index.

Parameters:
  • v (Sequence) – Input Sequence.

  • vname (str) – Name of the Sequence variable.

  • ix (object) – A required index that the Sequence must contain.

Return type:

None