Source Academy Modules
    Preparing search index...

    Function assert_length

    • Asserts that the given list has length len.

      Parameters

      • xs: any

        The list to assert.

      • len: number

        The expected length of the list.

      Returns void