Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/core/prelude/extend

Index

Functions

Functions

  • default(obj: object | Function, name: string, method: Function | PropertyDescriptor): void
  • Extends an object or function by the specified method

    Parameters

    • obj: object | Function
    • name: string

      method name

    • method: Function | PropertyDescriptor

    Returns void