Const
Type guard that checks if a value is a positive integer in [1, 2^15).
Returns true for a positive integer in [1, 2^15) — a value with no fractional component.
true
true if the value is a positive integer in [1, 2^15), false otherwise
false
Type guard that checks if a value is a positive integer in [1, 2^15).
Returns
truefor a positive integer in [1, 2^15) — a value with no fractional component.