Skip to main content

parse_canonical_index

Function parse_canonical_index 

Source
pub fn parse_canonical_index(property_key: &str) -> Option<usize>
Expand description

Parses the canonical non-negative decimal representation of a usize.

This does not apply numeric coercion, so distinct ECMAScript property keys such as "01", "1.0", and "+1" are not reinterpreted as the index 1.