UBuiltins
package python.internal
Available on python
This class provides unqualified access to python builtins that are safe to use in haxe/python code. Fields listed here must be synchronized with genpy's KeywordHandler.kwds2 list to be properly escaped.
Static methods
staticbool(o:Dynamic):Bool
staticcallable(x:Dynamic):Bool
staticchr(c:Int):String
staticdelattr(o:Dynamic, attr:String):Void
staticfilter<T>(f:T ‑> Bool, a:Array<T>):Array<T>
staticfloat(o:Dynamic):Float
staticgetattr(o:Dynamic, a:String, ?def:Dynamic):Dynamic
statichasattr(o:Dynamic, a:String):Bool
staticid(x:Dynamic):String
staticint(o:Dynamic, ?base:Int):Int
staticisinstance(o:Dynamic, c:Dynamic):Bool
staticiter<T>(o:NativeIterable<T>):NativeIterator<T>
staticlen(x:Dynamic):Int
staticlist<T>(o:Dynamic):Array<T>
staticmap<T, S>(f:T ‑> S, a:Array<T>):Array<S>
staticmax<T>(a:T, b:T):T
staticmin<T>(a:T, b:T):T
staticord(s:String):Int
staticsetattr(o:Dynamic, a:String, v:Dynamic):Void
staticstr(o:Dynamic):String
statictype(o:Dynamic):Dynamic
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/internal/UBuiltins.html