(obj, fn, context)
| 30 | } |
| 31 | |
| 32 | export function forEach (obj, fn, context) { |
| 33 | Object.keys(obj).forEach((key) => fn.call(context, obj[key], key)); |
| 34 | } |
| 35 | |
| 36 | export function toTextValue (arr, textTpl='{text}', valueTpl='{id}') { |
| 37 | if (!arr) { |
no outgoing calls
no test coverage detected
searching dependent graphs…