Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MCSManager/MCSManager
/ toText
Function
toText
common/src/typecheck.ts:43–46 ·
view source on GitHub ↗
(v: any)
Source
from the content-addressed store, hash-verified
41
}
42
43
export
function
toText(v: any): string | null {
44
if
(isEmpty(v))
return
null;
45
return
String(v);
46
}
47
48
export
function
toNumber(v: any): number | null {
49
if
(isEmpty(v))
return
null;
Callers
9
checkInstanceAdvancedParams
Function · 0.85
parseUserName
Function · 0.85
buyOrRenewInstance
Function · 0.85
queryInstanceByUserId
Function · 0.85
getNodeStatus
Function · 0.85
instance_exchange_router.ts
File · 0.85
instance_operate_router.ts
File · 0.85
onStart
Method · 0.85
info_router.ts
File · 0.85
Calls
1
isEmpty
Function · 0.85
Tested by
no test coverage detected