Function findTemplateIndexInListPrivate

  • Private

    Finds index of template by id in a list of templates.

    Parameters

    • templates: IItemTemplate[]

      A collection of AGO item templates to search

    • id: string

      AGO id of template to find

    Returns number

    Offset of of matching template or -1 if not found