import type { Fn , Nullable } from './types' ; /**
 * Call every function in an array
 */ export function batchInvoke ( functions ) { functions . forEach ( fn => fn && fn ( ) ) ; } /**
 * Call the function
 */ export function invoke ( fn ) { return fn ( ) ; } example export function tap < T > ( value , callback ) { callback ( value ) ; return value ; }