guardia-messenger/node_modules/expo-modules-core/ios/JSI/EXJavaScriptValue.h
DESKTOP-TKLFCPRython f29f525c77 refactor: 101.79.17.164 → zioinfo.co.kr 전체 도메인 변환 + Manager UI 배포
- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스)
- Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포
- 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 10:09:17 +09:00

61 lines
1.4 KiB
Objective-C

// Copyright 2022-present 650 Industries. All rights reserved.
#import <Foundation/Foundation.h>
#import <ExpoModulesCore/EXJavaScriptObject.h>
#ifdef __cplusplus
#import <jsi/jsi.h>
namespace jsi = facebook::jsi;
#endif // __cplusplus
@class EXJavaScriptRuntime;
@class EXRawJavaScriptFunction;
@class EXJavaScriptTypedArray;
/**
Represents any JavaScript value. Its purpose is to exposes `facebook::jsi::Value` API back to Swift.
*/
NS_SWIFT_NAME(JavaScriptValue)
@interface EXJavaScriptValue : NSObject
#ifdef __cplusplus
- (nonnull instancetype)initWithRuntime:(nonnull EXJavaScriptRuntime *)runtime
value:(std::shared_ptr<jsi::Value>)value;
/**
\return the underlying `jsi::Value`.
*/
- (nonnull jsi::Value *)get;
#endif // __cplusplus
#pragma mark - Type checking
- (BOOL)isUndefined;
- (BOOL)isNull;
- (BOOL)isBool;
- (BOOL)isNumber;
- (BOOL)isString;
- (BOOL)isSymbol;
- (BOOL)isObject;
- (BOOL)isFunction;
- (BOOL)isTypedArray;
#pragma mark - Type casting
- (nullable id)getRaw;
- (BOOL)getBool;
- (NSInteger)getInt;
- (double)getDouble;
- (nonnull NSString *)getString;
- (nonnull NSArray<EXJavaScriptValue *> *)getArray;
- (nonnull NSDictionary<NSString *, id> *)getDictionary;
- (nonnull EXJavaScriptObject *)getObject;
- (nonnull EXRawJavaScriptFunction *)getFunction;
- (nullable EXJavaScriptTypedArray *)getTypedArray;
#pragma mark - Helpers
- (nonnull NSString *)toString;
@end