repl.txt (523B)
1 2 {{alias}}( str ) 3 Tests whether a string matches a Node.js built-in module name. 4 5 Parameters 6 ---------- 7 str: string 8 Input string. 9 10 Returns 11 ------- 12 bool: boolean 13 Boolean indicating whether a string matches a Node.js built-in module 14 name. 15 16 Examples 17 -------- 18 > var bool = {{alias}}( 'cluster' ) 19 true 20 > bool = {{alias}}( 'crypto' ) 21 true 22 > bool = {{alias}}( 'fs-extra' ) 23 false 24 > bool = {{alias}}( '' ) 25 false 26 27 See Also 28 -------- 29