Function: meson--max-length

meson--max-length is a natively compiled function defined in meson-mode.el.

Signature

(meson--max-length &rest ARGS)

Documentation

Return maximum length among strings in ARGS.

If some arguments are numbers, threat them as string lengths.

Source Code

;; Defined in /nix/store/57kn62wrv0z1jads9j9blmagdm8rh132-emacs-packages-deps/share/emacs/site-lisp/elpa/meson-mode-20240601.1647/meson-mode.el
(defun meson--max-length (&rest args)
  "Return maximum length among strings in ARGS.
If some arguments are numbers, threat them as string lengths."
  (let ((lengths
	 (mapcar (lambda (x) (if (stringp x) (length x) x)) args)))
    (apply 'max lengths)))