UNPKG
steam-auth
Version:
latest (0.0.4)
0.0.4
0.0.3
openid auth, web api wrappers
github.com/eagle21st/SteamWebAPI
eagle21st/SteamWebAPI
steam-auth
/
lib
/
utils.js
13 lines
(11 loc)
•
236 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
var
utils =
exports
; utils.
isArray
=
function
(
el
){
if
(
Object
.
prototype
.
toString
.
call
(el) ===
'[object Array]'
) {
return
true
; }
return
false
; }; utils.
flattenArray
=
function
(
el
){
// [1,2,3] --> '1,2,3'
return
el.
toString
(); };