18 lines
316 B
Markdown
18 lines
316 B
Markdown
# Ae.js — hasName() (satır 350)
|
||
|
||
[← Ae.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
function hasName(list, name)
|
||
{
|
||
if (!list || !name) return false;
|
||
|
||
for (var i = 0; i < list.length; i++)
|
||
{
|
||
if (list[i] === name) return true;
|
||
}
|
||
|
||
return false;
|
||
}
|
||
```
|