XYO Platform SDK - v3.10.6
    Preparing search index...

    Variable duplicateModulesConst

    duplicateModules: (
        value: Module,
        index: number,
        array: Module[],
    ) => value is Module

    Used to filter duplicates from an array of modules @example: modulesArray.filter(duplicateModules)

    Type declaration

      • (value: Module, index: number, array: Module[]): value is Module
      • Parameters

        • value: Module

          Current Module

        • index: number

          Current Module's index

        • array: Module[]

          Module Array

        Returns value is Module

        True if the Module's address is the first occurrence of that address in the array, false otherwise