dlangui v0.10.7 (2024-03-11T09:32:36Z)
Home
Dub
Repo
ObjectList.indexOf
dlangui
core
collections
ObjectList
find child index for item by id, return -1 if not found
int
indexOf
(T item)
int
indexOf
(string id)
struct
ObjectList
(T)
static if
(
__traits(hasMember, T, "compareId")
)
int
indexOf
(
string
id
)
Meta
Source
See Implementation
dlangui
core
collections
ObjectList
aliases
length
destructors
~this
functions
add
asArray
clear
get
indexOf
insert
opApply
opIndex
remove
replace
properties
count
variables
_count
_list
find child index for item by id, return -1 if not found