Function: s-starts-with?
s-starts-with? is a byte-compiled function defined in s.el.
Signature
(s-starts-with? PREFIX S &optional IGNORE-CASE)
Documentation
Does S start with PREFIX?
If IGNORE-CASE is non-nil, the comparison is done without paying attention to case differences.
Alias: s-prefix?. This is a simple wrapper around the built-in
string-prefix-p.
Aliases
s-starts-with-p
s-prefix?
s-prefix-p
Source Code
;; Defined in ~/.emacs.d/elpa/s-20220902.1511/s.el
(defun s-starts-with? (prefix s &optional ignore-case)
"Does S start with PREFIX?
If IGNORE-CASE is non-nil, the comparison is done without paying
attention to case differences.
Alias: `s-prefix?'. This is a simple wrapper around the built-in
`string-prefix-p'."
(declare (pure t) (side-effect-free t))
(string-prefix-p prefix s ignore-case))