Function: which-key--string-width

which-key--string-width is a byte-compiled function defined in which-key.el.gz.

Signature

(which-key--string-width MAYBE-STRING)

Documentation

If MAYBE-STRING is a string use which-key--string-width o/w return 0.

Source Code

;; Defined in /usr/src/emacs/lisp/which-key.el.gz
;;; Functions for retrieving and formatting keys

(defsubst which-key--string-width (maybe-string)
  "If MAYBE-STRING is a string use `which-key--string-width' o/w return 0."
  (if (stringp maybe-string) (string-width maybe-string) 0))