Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Returns data type of argument.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FM | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Value | The value to check. | $test |
Returns type or error.
Checks variable data type:
MBS( "FM.DataType"; $test )
Check data type for timestamp:
MBS( "FM.DataType"; Get(CurrentTimeStamp) )
Example result: timestamp
Check data type for container:
MBS( "FM.DataType"; MBS( "Text.WriteToContainer"; "Hello" ) )
Example result: container
Check data type for time:
MBS( "FM.DataType"; Get(CurrentTime) )
Example result: time
Check data type for date:
MBS( "FM.DataType"; Get(CurrentDate) )
Example result: date
Check data type for text:
MBS( "FM.DataType"; "Hello" )
Example result: text
Check data type for number:
MBS( "FM.DataType"; 123 )
Example result: number
This function is free to use.
Created 9th February 2016, last changed 19th November 2021