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

staticchr(c:Int):String

staticdelattr(o:Dynamic, attr:String):Void

staticfilter<T>(f:T ‑> Bool, a:Array<T>):Array<T>

staticid(x:Dynamic):String

staticint(o:Dynamic, ?base:Int):Int

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

staticstr(o:Dynamic):String