Метод expectIntegerNonNegative

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 74–84
~/bitrix/modulestasks/lib/util/assert.php

Исходный код

PHP
public static

Сигнатура метода

public static function expectIntegerNonNegative($arg, $argName = '', $customMsg = '')

Описание

Method checks if the given argument is a non-negative integer value, or can be casted to it. False and '' also allowed

Параметры

3
Имя Тип По умолчанию Флаги
$arg - -
-
$argName - ''
-
$customMsg - ''
-