remove `isFunction`