fp-filters - v0.5.3
    Preparing search index...

    Function hasLength

    • Higher-order function that returns a function to check if an argument has a specific length.

      Parameters

      • len: number

        The length to compare against.

      Returns (arg: THasLengthProperty) => boolean

      A function that takes an argument and returns true if the argument's length is equal to the specified length.