pub async fn last_segment_y( exec_state: &mut ExecState, args: Args, ) -> Result<KclValue, KclError>
Returns the last segment of y.