EarthSDK
    正在准备搜索索引...

    函数 forEachWithBreak

    • 类型参数

      • T

      参数

      • iteratorOrIterable: Iterable<T, any, any> | Iterator<T, any, any>

        迭代器

      • callbackfn: (currentValue: T, currentIndex: number) => boolean | void

        返回值为true时,表示需要打断!

      返回 boolean

      是否被打断