This is the ThingsDB documentation for version v0, click here for the latest version!

len

Returns the length of mpdata in bytes.

This function does not generate an event.

Function

mpdata.len()

Arguments

None

Return value

Returns length in bytes.

Example

This code uses len():

user_info('admin').len();

Example return value in JSON format (size may be different)

358