repl.txt (649B)
1 2 {{alias}}( value ) 3 Tests if a value is an alphagram (i.e., a sequence of characters arranged in 4 alphabetical order). 5 6 The function first checks that an input value is a string before validating 7 that the value is an alphagram. For non-string values, the function returns 8 `false`. 9 10 Parameters 11 ---------- 12 value: any 13 Value to test. 14 15 Returns 16 ------- 17 bool: boolean 18 Boolean indicating whether value is an alphagram. 19 20 Examples 21 -------- 22 > var out = {{alias}}( 'beep' ) 23 true 24 > out = {{alias}}( 'zba' ) 25 false 26 > out = {{alias}}( '' ) 27 false 28 29 See Also 30 -------- 31