VarArgs

VarArgs<T>(Dynamic)

package python

Available on python

This type represents python *args feature, supporting passing arbitrary number of arguments to a function.

Example:

function f(args:VarArgs<Int>) {}
f([1, 2, 3]);

Methods

inline toArray ():Array<T>

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/python/VarArgs.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部