Branch: Tag:

2019-08-14

2019-08-14 12:36:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation: Updated type for predef::types().

4141:    push_array(a);   }    - /*! @decl array(type(mixed)) types(string|array|mapping|multiset|object x) + /*! @decl array(type(mixed)) types(string|array|mapping|multiset|object|program x)    *!    *! Return an array with the types of all valid indices for the value @[x].    *!
10277:    tObj,tPrg(tObj)),    tArr(tVar(0)))),0,fix_values_type,0);    -  /* function(string|multiset:array(int))|function(array(0=mixed)|mapping(mixed:0=mixed)|object|program:array(0)) */ +  /* function(string|multiset(array(int))|function(array(0=mixed)|mapping(mixed:0=mixed)|object|program:array(0)) */    ADD_EFUN2("types", f_types,    tOr3(tFunc(tOr3(tNStr(tSetvar(0,tInt)),    tArr(tSetvar(0,tMix)),