Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/object/objectAttributeResolver

Index

Functions

Const objectAttributeResolver

  • objectAttributeResolver(attribute: Function | string | string[], object: object, ...otherArgs: any): any
  • Get the given attribute from the record

    Parameters

    • attribute: Function | string | string[]

      function or the attribute name

    • object: object

      what you want to get the attribute for

    • Rest ...otherArgs: any

      any other arguments used by the attribute function

    Returns any

    returns attribute or evaluates attribute and returns the result

Generated using TypeDoc