pub fn is_sourcemap(json: &str) -> boolExpand description
Quick check if a JSON string looks like a valid source map.
Performs a lightweight structural check without fully parsing the source map.
Returns true if the JSON contains either:
version+mappings+ at least one ofsources,names,sourceRoot,sourcesContent- OR a
sectionsfield (indexed source map)