function | since v0.0-3178 | Edit |
(array-index-of arr k)
(defn array-index-of [arr k]
(cond
(keyword? k) (array-index-of-keyword? arr k)
(or (string? k) (number? k))
(array-index-of-identical? arr k)
(symbol? k) (array-index-of-symbol? arr k)
(nil? k)
(array-index-of-nil? arr)
:else (array-index-of-equiv? arr k)))