is_mpdata

This function determines whether the provided value is of type mpdata or not.

This function does not generate a change.

Function

is_mpdata(value)

Arguments

Argument Type Description
value any (required) The value to be tested.

Return value

Returns true if the given value is of type mpdata, else it returns false.

Example

This code shows some return values for is_mpdata():

[
    is_mpdata( user_info("admin") ),
    is_mpdata( user_info("admin").load() ),
];

Return value in JSON format

[
    true,
    false
]