export function arrayPropertyReflector ( array , property ) { return ( array [ 0 ] || { } ) [ property ] ; } export function isFunction ( value ) { return typeof value === "function" ; } export function isFunctionWithZeroOrOneArgs ( value ) { return isFunction ( value ) && value . length <= 1 ; }