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

    Function hasLengthMax

    • Higher-order function that returns a function to check if an argument has a length property with a value lesser than or equal to a specified 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 lesser than or equal to the specified length.