array public static
\Bitrix\Vote\Uf\VoteUserType::detectType(
mixed $value
);
Method detects type of attached object: exiting or new. Static method.
Parameters
Parameter | Description | Version |
$value | For existing attached object - a number, otherwise - n1, n2. | |
Example