common.isSafeInteger
TypeScript
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- common
- Package
- libtmux
- Source
- packages/libtmux/src/common.ts
- isSafeInteger ( value : : unknown ) value is SafeInteger
-
Test whether a value is an exact JavaScript integer.
Examples
import { isSafeInteger } from "libtmux";const value: unknown = 3;if (isSafeInteger(value)) snapshot.sessions.where({ attached: value });
0 declared, 0 inherited