import { hooks } from '../constants' ; export const is = { constructor : ( name ) : boolean => name === 'constructor' , vueHook : ( name ) : boolean => ! ! hooks . VUE_HOOKS [ name ] , vueMethod : ( descriptor ) : boolean => typeof descriptor . value === 'function' , vueComputed : ( descriptor ) : boolean => ! ! ( descriptor . get || descriptor . set ) , } ;