W3cubDocs

/Haxe Python

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

inlineget<V>(key:String, def:V):V

inlinetoDict():Dict<String, Dynamic>

inlinetyped():T

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