Skip to main content

has_index

Function has_index 

Source
pub fn has_index(v: &Value, key: &str) -> Option<bool>
Expand description

Whether key is an in-range integer index of the typed array / Buffer v. None when v is neither, so callers can fall through to their own logic.