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
Summary of Contents for Yocto-Display
Page 1: ...Yocto Display User Manual...
Page 2: ......
Page 40: ...34 www yoctopuce com...
Page 52: ...46 www yoctopuce com...
Page 84: ...78 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 422: ...416 www yoctopuce com...