Skip to main content

detect_script

Function detect_script 

Source
pub fn detect_script(text: &str) -> Option<Script>
Expand description

Detect only a script by a given text

ยงPanics

Panics only if the internal script-counter table were empty, which cannot happen (it is a fixed-size array).