UNPKG
cast-curry
Version:
latest (1.0.0)
1.0.0
Curry, and partially apply funcitons
cast-curry
/
lib
/
has_placeholder.js
11 lines
(9 loc)
•
265 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var
isPlaceholder = require(
'./is_placeholder'
); module.exports =
function
hasPlaceholder
(
args
)
{
//{'@@functional/placeholder': true};
for
(
var
i=
0
; i<
args
.length; i++){
if
(isPlaceholder(
args
[i]))
return
true
; }
return
false
; };