22. High-level API Reference
210
www.yoctopuce.com
YModule
module
→
hasFunction()
Tests if the device includes a specific function.
js
function hasFunction(
funcId
)
cpp
bool hasFunction( string
funcId
)
m
-(bool) hasFunction : (NSString*)
funcId
pas
function hasFunction(
funcId
: string): boolean
vb
function hasFunction( ) As Boolean
cs
bool hasFunction( string
funcId
)
java
boolean hasFunction( String
funcId
)
uwp
Task<bool> hasFunction( string
funcId
)
py
def hasFunction(
funcId
)
php
function hasFunction(
$funcId
)
es
function hasFunction(
funcId
)
cmd
YModule
target
hasFunction
funcId
This method takes a function identifier and returns a boolean.
Parameters :
funcId
the requested function identifier
Returns :
true if the device has the function identifier
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...