Updated documentation for new functions
This commit is contained in:
parent
3d241c2f8b
commit
2cefaa19aa
12
README.md
12
README.md
@ -159,6 +159,18 @@ functions:
|
|||||||
|
|
||||||
$_.util.object_values(object);
|
$_.util.object_values(object);
|
||||||
|
|
||||||
|
* object_merge: Merges two objects' keys and values
|
||||||
|
|
||||||
|
$_.util.object_merge(object1, object2);
|
||||||
|
|
||||||
|
* array_combine: Creates an object with the keys of the first array, and the values of the second
|
||||||
|
|
||||||
|
$_.util.array_combine(keys, values);
|
||||||
|
|
||||||
|
* str_trans: Similar to the PHP function strtr, replaces string pairs in a GREEDY fashion
|
||||||
|
|
||||||
|
$_.util.str_trans(string, from, to); OR $_.util.str_trans(string, replace_pairs_object);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user