Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/msgbyte/tailchat
/ is
Function
is
client/shared/utils/string-helper.ts:39–41 ·
view source on GitHub ↗
(it: string)
Source
from the content-addressed store, hash-verified
37
* 用于判定环境变量的值
38
*/
39
export
function
is(it: string) {
40
return
!!it && it !==
'0'
&& it !==
'false'
;
41
}
42
43
/**
44
* 是否一个可用的字符串
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected