rest_is_integer
rest_is_integer ( $maybe_integer )
Parameters:- (mixed) maybe_integer The value being evaluated.
Returns:- (bool) True if an integer, otherwise false.
Defined at: - Introduced in WordPress: 5.5.0
- Deprecated in WordPress: —
Description
Determines if a given value is integer-like.