@hat-open/util
    Preparing search index...

    Function _filter

    • Change array to contain only elements for which function returns true

      Type Parameters

      • T

      Parameters

      • fn: (val: T) => boolean
      • arr: T[]

      Returns T[]