KwArgs

KwArgs<T>(Dict<String, Dynamic>)

package python

Available on python

This type represents python **kwargs feature, supporting passing named arguments to a function.

Example:

function f(kwargs:KwArgs<{a:Int}>) {}
f({a: 10});

Methods

inline get<V> (key:String, def:V ):V

inline toDict ():Dict<String, Dynamic>

inline typed ():T

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部