Flarum (v2.0.0-beta.2)
    Preparing search index...
    • The extract utility deletes a property from an object and returns its value.

      Type Parameters

      • T
      • K extends string | number | symbol

      Parameters

      • object: T

        The object that owns the property

      • property: K

        The name of the property to extract

      Returns T[K]

      The value of the property