1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 10:54:44 +00:00

chore(packages/platform): prepare for 0.0.1 release

This commit is contained in:
2024-10-23 07:16:46 +07:00
parent 95bfa4f0f1
commit ed76a867e6
3 changed files with 19 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
* @category Multi
* @description Global object that works in any environment
*
* @since 0.0.2
* @since 0.0.1
*/
export const _global =
typeof globalThis !== 'undefined'
@@ -23,6 +23,6 @@ export const _global =
* @category Multi
* @description Check if the current environment is the client
*
* @since 0.0.2
* @since 0.0.1
*/
export const isClient = typeof window !== 'undefined' && typeof document !== 'undefined';