(value, transform)
| 434 | $(() => init()) |
| 435 | |
| 436 | function __guard__ (value, transform) { |
| 437 | return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined |
| 438 | } |
| 439 | function __guardMethod__ (obj, methodName, transform) { |
| 440 | if (typeof obj !== 'undefined' && obj !== null && typeof obj[methodName] === 'function') { |
| 441 | return transform(obj, methodName) |