Added array_map() snippet
This commit is contained in:
parent
95b1a81d6e
commit
613f3c1b25
@ -394,3 +394,8 @@ snippet rett
|
|||||||
return true;
|
return true;
|
||||||
snippet retf
|
snippet retf
|
||||||
return false;
|
return false;
|
||||||
|
snippet am
|
||||||
|
array_map(function($${1:v}) {
|
||||||
|
${3}
|
||||||
|
return $$1;
|
||||||
|
}, $${2:foo});
|
||||||
|
Loading…
Reference in New Issue
Block a user