W3cubDocs

/Pony

ArrayKeys[A: A, B: Array[A] #read]

[Source]

class ref ArrayKeys[A: A, B: Array[A] #read] is
  Iterator[USize val] ref

Implements

Constructors

create

[Source]

new ref create(
  array: B)
: ArrayKeys[A, B] ref^

Parameters

  • array: B

Returns

Public Functions

has_next

[Source]

fun box has_next()
: Bool val

Returns

next

[Source]

fun ref next()
: USize val

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/builtin-ArrayKeys