NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in
ts
function isBoolean(value: any): boolean;

Defined in: utils/types.d.ts:20

A function that checks if something is a valid boolean.

Parameters

ParameterTypeDescription
valueanyThe value which will be checked. Returns true if value is a boolean.

Returns

boolean