This function determines whether the provided value is of
type str
or bytes
.
This function does not generate an event.
israw(value)
Argument | Type | Description |
---|---|---|
value | any (required) | The value to be tested. |
Returns true
if the given value is of type str
or bytes
, else false
.
This code shows some return values for israw():
[
israw( 'some string' ),
israw( bytes('xxxx') ),
];
Return value in JSON format
[
true,
true
]