Line Count • Rust AI Agent SDK

line_count: Get line count.

line_count

Method

</div>

This is a method of the LineRange class in the context module.

Get line count.

Signature

python
def line_count(&self) -> usize

Returns

ResponseField usize

The result of the operation.