CogniTabScript documentation
/
📖Introduction & Syntax📋All APIsParallel execution / Concurrency
Classes16
  • Audio
  • Color
  • MacroPanel
  • MotionTracker
  • OverlayText
  • Point
  • Region
  • ScaleParam
  • ScreenCapture
  • Storage
  • SwipePoint
  • System
  • Template
  • TfliteModel
  • Timer
  • Touch
Read-only Classes7
  • AudioMatch
  • Flow
  • Match
  • MatchList
  • MotionResult
  • Recognition
  • TouchState
Collections6
  • dict
  • list
  • range
  • set
  • String
  • tuple
Functions36
Gesture
  • click
  • swipe
Input
  • text
Flow Control
  • print
  • random
  • random_int
  • range
  • wait
Collections
  • all
  • any
  • enumerate
  • globals
  • len
  • sorted
  • zip
Type Conversion
  • bool
  • float
  • hasattr
  • int
  • isinstance
  • str
  • type
Math
  • abs
  • ceil
  • clamp
  • cos
  • floor
  • log
  • max
  • min
  • pow
  • round
  • sin
  • sqrt
  • sum
  • tan
⚙️Runtime Specifications
On this page
  • Overview
Raw JSON source ↗
Ask ChatGPT↗

Get help with this page.

len

Function

Get size of a String, list/tuple, or dict.

Syntax

len(value, /)

Parameters

NameDescription
valueString | list | tuple | dict
Value to measure
Required · Positional only
No default

Returns

Int — Number of items/characters.

Example

name = "CogniTab"
count = len(name)
text(str(count))
Privacy PolicyTerms of UseCommunity GuidelinesAccount deletion

Release v2.107

Google Play
On this page
Overview
Raw JSON source ↗
Ask ChatGPT↗

Get help with this page.