Skip to content

xdash API Reference v0.5.14


xdash API Reference / isTruthy

Function: isTruthy() ​

isTruthy(value): boolean

Defined in: src/typed.ts:161

Determines if a value is truthy.

Parameters ​

value ​

unknown

value to check

Returns ​

boolean

true if the value is a number, false otherwise

Released under the MIT License.