Haxe 3.4

Builtins




haxe

Builtins

पैकेज python.lib

@: pythonImport ("बिलिंस") अजगर पर उपलब्ध है

स्थैतिक तरीके

static abs ( x: Float ): Float

static abs ( f: Int ): Int

static all ( i: Iterable < Bool > ): Bool

static any ( i: Iterable < Bool > ): Bool

static bool ( x: Dynamic ): Bool

static callable ( x: Dynamic ): Bool

static chr ( c: Int ): String

static delattr ( o: Dynamic , attr: String ): Void

static filter < A > ( f: A ‑> Bool , i: Array < A > ): NativeIterator < A >

static filter < A > ( f: A ‑> Bool , i: NativeIterable < A > ): NativeIterator < A >

static float ( x: Dynamic ): Float

static getattr ( obj: Dynamic , attr: String ): Dynamic

static hasattr ( obj: Dynamic , attr: String ): Bool

static id ( x:{} ): Int

static int ( x: Dynamic ): Int

static int ( x: Dynamic , base: Int ): Int

static isinstance ( obj: Dynamic , cl: Dynamic ): Bool

static isinstance ( obj: Dynamic , f: Tuple < Dynamic > ): Bool

static issubclass ( x: Class < Dynamic >, from: Class < Dynamic > ): Bool

static iter < X > ( d: DictView < X > ): NativeIterator < X >

static len ( x: String ): Int

static len ( f: Set < Dynamic > ): Int

static len ( f: StringBuf ): Int

static len ( f: Array < Dynamic > ): Int

static len ( f: Dict < Dynamic , Dynamic > ): Int

static len ( f: Bytes ): Int

static len ( f: DictView < Dynamic > ): Int

static len ( f: Bytearray ): Int

static len ( f: Tuple < Dynamic > ): Int

static list < T > ( i: NativeIterable < T > ): Array < T >

static list < T > ( f: Array < T > ): Array < T >

static list < T > ( f: Tuple < T > ): Array < T >

static list < T > ( f: DictView < T > ): Array < T >

static list ( f: String ): Array < String >

static map < A , B > ( fn: A ‑> B , it: NativeIterable < A > ): NativeIterator < B >

static max ( a1: Int , a2: Int , rest: Rest < Int > ): Int

static max ( a1: Float , a2: Float , rest: Rest < Float > ): Float

static min ( a1: Int , a2: Int , rest: Rest < Int > ): Int

static min ( a1: Float , a2: Float , rest: Rest < Float > ): Float

@:value({ encoding : null, buffering : -1 }) static open ( file: String , mode: String , buffering: Int = -1, ?encoding: String , ?errors: String , ?newline: String , ?closefd: Bool , ?opener: String ‑> Int ‑> FileDescriptor ): IOBase

static ord ( s: String ): Int

static print ( o: Dynamic ): Void

static round ( f: Float ): Int

static setattr ( o: Dynamic , attr: String , val: Dynamic ): Void

static str ( o: Dynamic ): String

static type (): Void