diff options
Diffstat (limited to 'src/VideoList.hx')
| -rw-r--r-- | src/VideoList.hx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/VideoList.hx b/src/VideoList.hx index c5e92c8..eb3e67d 100644 --- a/src/VideoList.hx +++ b/src/VideoList.hx @@ -44,6 +44,10 @@ class VideoList { pos = i; } + public function hasItem(i:Int):Bool { + return items[i] != null; + } + public function exists(f:(item:VideoItem) -> Bool):Bool { return items.exists(f); } |
