@nhtio/encoder/type_guards
Type guards used by the encoder/decoder
Functions
| Function | Description |
|---|---|
| isArray | Type guard to check if a value is an array |
| isBigInt | - |
| isBigIntTypedArray | - |
| isError | - |
| isInstanceOf | Checks if a value is an instance of a specific class. |
| isLucidBinaryValue | Type guard to check if a value is a valid Lucid binary value (Uint8Array or Buffer) |
| isLuxonDateTime | Type guard to check if a value is a Luxon DateTime instance |
| isLuxonDuration | Type guard to check if a value is a Luxon Duration instance |
| isLuxonInterval | Type guard to check if a value is a Luxon Interval instance |
| isLuxonSystemZone | - |
| isMap | - |
| isNegativeZero | - |
| isNumber | - |
| isObject | Type guard to check if a value is a plain object (not null, not array) |
| isPhoneObject | - |
| isPrimitive | - |
| isSet | - |
| isTypedArray | - |
| isUniterableObject | - |