repl.txt (546B)
1 2 {{alias}}( str ) 3 Tests whether a character belongs to the ASCII character set and whether 4 this is true for all characters in a provided string. 5 6 Parameters 7 ---------- 8 str: string 9 Input string. 10 11 Returns 12 ------- 13 bool: boolean 14 Boolean indicating whether a string has all ASCII characters. 15 16 Examples 17 -------- 18 > var str = 'beep boop'; 19 > var bool = {{alias}}( str ) 20 true 21 > bool = {{alias}}( {{alias:@stdlib/string/from-code-point}}( 130 ) ) 22 false 23 24 See Also 25 -------- 26