IsBinary
Determines whether a value is stored as binary data.
Method Signature
Arguments
Argument
Type
Required
Description
Default
value
any
true
The value to test
Examples
Checks if toBase64() function returns binary data
toBase64() returns base64 encoded data which is not binary
Result: false
Checks if toBinary() function returns binary data
toBinary() expects base64 encoded data and returns binary data
Result: true
Additional Examples
Related
Last updated
Was this helpful?