@vnodes/utils
    Preparing search index...

    Function getMethodNames

    • Get the method names from the class's prototype


      class SampleClass {
      property = 100;
      sampleFn(){}
      }

      getMethodNames(SampleClass.prototype) /// return ['sampleFn']

      Parameters

      • target: any

      Returns string[]

      -- list of method names