← All built-ins / ui_check_get()

ui_check_get()

ui_check_get(...$args): int

Parameters

NameTypeDescription
$handleintcheckbox handle

Return value

true when checked.

Example

echo "if (ui_check_get($cb)) { … }";
if (ui_check_get($cb)) { … }

This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.

See also

ui_check_set()ui_add()