def array_length_operation(array: ArrayVar):
    """Get the length of an array.

    Args:
        array: The array.

    Returns:
        The length of the array.
    """
    return var_operation_return(
        js_expression=f"{array}.length",
        var_type=int,
    )
Get the length of an array.

    Args:
        array: The array.

    Returns:
        The length of the array.
    
reflex/vars/sequence.py