FuncType - v0.45.0
    Preparing search index...

    Variable List

    List: <A>(values?: Iterable<A, any, any>) => List<A> & {
        empty: <A extends unknown>() => List<A>;
        fromBinary: <A>(binary: string) => List<A>;
        fromJSON: <A>(json: string) => List<A>;
        fromYAML: <A>(yaml: string) => List<A>;
        of: <A extends unknown>(...values: A[]) => List<A>;
    }

    Type Declaration

      • <A>(values?: Iterable<A, any, any>): List<A>
      • Type Parameters

        • A

        Parameters

        • Optionalvalues: Iterable<A, any, any>

        Returns List<A>

    • empty: <A extends unknown>() => List<A>

      Creates an empty List Returns a singleton instance for efficiency

    • fromBinary: <A>(binary: string) => List<A>

      Creates a List from binary string

    • fromJSON: <A>(json: string) => List<A>

      Creates a List from JSON string

    • fromYAML: <A>(yaml: string) => List<A>

      Creates a List from YAML string

    • of: <A extends unknown>(...values: A[]) => List<A>

      Creates a List from variadic arguments